I am working on some ciruit simulation problem that would require the pspice
readable(.cir)file designed in Matlab to be run on PSPICE and the analyses
result from PSPICE to be automatically retrieved in Matlab.
I have seen one message showing how to read the Pspice result in matlab but has
any one an idea how to direcly run Pspice simulation from Matlab?
Sending the circuit files to pspice and getting back the analyses results
Started by ●September 2, 2010
Reply by ●September 14, 20102010-09-14
Hello,
I think I might have the answer to your question. Spice can be also run from the "command line", so when calling the simulator from MATLAB, just add a ! in front of the command.
Here is a link that might help. Note that they use WinSpice, not Spice.
http://www.matrixlab-examples.com/winspice.html
Hope this helps you.
Paul
I am working on some ciruit simulation problem that would require the pspice readable(.cir)file designed in Matlab to be run on PSPICE and the analyses result from PSPICE to be automatically retrieved in Matlab.
>I have seen one message showing how to read the Pspice result in matlab but has any one an idea how to direcly run Pspice simulation from Matlab?
>
I think I might have the answer to your question. Spice can be also run from the "command line", so when calling the simulator from MATLAB, just add a ! in front of the command.
Here is a link that might help. Note that they use WinSpice, not Spice.
http://www.matrixlab-examples.com/winspice.html
Hope this helps you.
Paul
I am working on some ciruit simulation problem that would require the pspice readable(.cir)file designed in Matlab to be run on PSPICE and the analyses result from PSPICE to be automatically retrieved in Matlab.
>I have seen one message showing how to read the Pspice result in matlab but has any one an idea how to direcly run Pspice simulation from Matlab?
>