update: use $inputdir instead of absolute path

outputpath not (yet?) available
This commit is contained in:
Holger Vogt 2018-08-06 20:12:14 +02:00
parent c5b5190199
commit d4217f1256
1 changed files with 2 additions and 2 deletions

View File

@ -30,14 +30,14 @@ begin
echo source the input file
* Path of your circuit file and library file here
* Will be added to the already existing sourcepath
set sourcepath = ( D:/Spice_general/ngspice/examples/Monte_Carlo $sourcepath ./ngspice/examples/Monte_Carlo )
set sourcepath = ( $inputdir $sourcepath ./ngspice/examples/Monte_Carlo )
* source with file name of your circuit file
source mc_ring_circ.net
save buf $ we just need buf, save memory by more than 10x
* Output path (directory has already to be there)
setcf outputpath = 'D:\Spice_general\ngspice\examples\Monte_Carlo\out'
* set outputpath = 'D:\Spice_general\ngspice\examples\Monte_Carlo\out'
* If your current directory is the 'ngspice' directory
* set outputpath = './examples/Monte_Carlo/out' $ LINUX alternative
* run the simulation loop