0

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)

simo
  • 273
  • 1
  • 12
  • It looks like you answered your main question already for Windows OS. I'd suggest adding "on MacOS" to your title – Huisman Dec 08 '19 at 20:56
  • Oh yes, İ just edited the title, thanks – simo Dec 08 '19 at 21:13
  • Does [this question](https://electronics.stackexchange.com/questions/294310/start-a-ltspice-simulation-using-code-in-macos/338535) answer your question? –  Dec 09 '19 at 01:40
  • 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 – simo Dec 09 '19 at 05:44

1 Answers1

1

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

Pai
  • 197
  • 13