How to generate a Simscape circuit model from a text file?
3 views (last 30 days)
Show older comments
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
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
Answers (1)
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
0 Comments
See Also
Categories
Find more on Simscape Electrical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!