Loading from file

As with interactive ngspice, you may use the ngspice internal command source (17.5.75) to load a complete netlist from a file.

Typical usage:

ngSpice_Command("source ../examples/adder_mos.cir");