0
\$\begingroup\$

Can LTSpice used in the terminal by a command line? Is there any example there ? I only saw examples in Windows OS

How would simulating a circuit file using LTSpice using terminal in MacOS? (like using NGSpice in command line)

\$\endgroup\$
4
  • \$\begingroup\$ It looks like you answered your main question already for Windows OS. I'd suggest adding "on MacOS" to your title \$\endgroup\$ – Huisman Dec 8 '19 at 20:56
  • \$\begingroup\$ Oh yes, İ just edited the title, thanks \$\endgroup\$ – simo Dec 8 '19 at 21:13
  • \$\begingroup\$ Does this question answer your question? \$\endgroup\$ – user103380 Dec 9 '19 at 1:40
  • \$\begingroup\$ I tried it, but it will open the LTSpice app window, what I need is to execute it in the background without actually opening in \$\endgroup\$ – simo Dec 9 '19 at 5:44
1
\$\begingroup\$

Try this in your terminal .cir file can also be stimulated.

<Path\of\the\program>\XVII86.exe -b -Run file_name.asc

LTSpice simulation can be executed by batch process using command prompt

LTSpice Help > Modes of Operation > Command Line Switches

-b will execute .cir or .asc without opening LTSpice

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.