MATLAB Answers


How to generate a Simscape circuit model from a text file?

Asked by Jonathan on 8 Apr 2014
Latest activity Commented on by Jonathan on 12 May 2014
Is it possible, with Simscape/SimPower, to generate a circuit model with basic electrical elements using some kind of batch file that would contain every necessary instruction?
I know there are ways to do that with other circuit model softwares like Spice or Saber but I need to work with Matlab.


Hi Jonayhan, this is possible. it can easily be done using simulink functions such as add_block, add_line... Look at the documentation to get examples. HTH Jean-Baptiste

Sign in to comment.

0 Answers