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

1 view (last 30 days)
Hi,
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.
  2 Comments
Jean-Baptiste Lanfrey
Jean-Baptiste Lanfrey on 11 May 2014
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.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 1 Dec 2020
Doing matlab answers clean up. Answer was in the comments and is being pasted here, from Jean-Baptiste Lanfrey.
Jean-Baptiste Lanfrey on 11 May 2014
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

Categories

Find more on Get Started with Simscape Electrical in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!