how to use IF statement and case in pspice

Status
Not open for further replies.

rajrevanth61

Member level 3
Joined
Mar 6, 2014
Messages
65
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Visit site
Activity points
429
Can I use IF and CASE statements in pspice while writing the netlist . If so how do i use it?
 

There is limited support for this in PSPICETEMPLATE. This is explained in pspice user guide.
Page 141 table - **broken link removed**

Functions can also be defined having expressions using if,else. See page -xix of pspice reference manual - **broken link removed**
Look for line - if(t,x,y). This way expressions can be defined using .func command.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…