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

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 Kommentare

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
Thanks, I'll look into it.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Joel Van Sickel
Joel Van Sickel am 1 Dez. 2020

0 Stimmen

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

Gefragt:

am 8 Apr. 2014

Beantwortet:

am 1 Dez. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by