The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> ymin and ymax in Ocean Script
https://designers-guide.org/forum/YaBB.pl?num=1295162455

Message started by KCT on Jan 15th, 2011, 11:20pm

Title: ymin and ymax in Ocean Script
Post by KCT on Jan 15th, 2011, 11:20pm

I am facing a problem of using ymin and ymax functions.

It always returns me a error like, *Error* eval: unbound variable - ymin.

My script is in the following.  Could anyone shine some light on it?  Thanks a lot.

analysis('tran ?stop "0.4m"  )
desVar(        "sen" 900m      )
desVar(        "parameter_ini" 200n      )
desVar(        "parameter_dc2" 210n      )
desVar(        "parameter_dc1" 230n      )
paramAnalysis( "parameter_dc2" ?start 200n ?stop 400n ?step 100n
   paramAnalysis( "parameter_dc1" ?start 200n ?stop 400n ?step 100n)
)
temp( 27 )
paramRun()
selectResult( 'tran )
plot(getData("/Out2") getData("/Out1") getData("/Out1_no_fb") getData("/Out2_no_fb") )
min_value1 = ymin (VT("/Out1") )

Title: Re: ymin and ymax in Ocean Script
Post by KCT on Jan 16th, 2011, 12:18am

The problem had been resolved.  

Just delete the 'space' between ymin and the brackets "(" .

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.