simscape block node arrangement

1 view (last 30 days)
Matthew Mishrikey
Matthew Mishrikey on 21 Jul 2021
Answered: Yifeng Tang on 24 Jul 2021
the generated block has three nodes: c, g, and e.
In the block graphic, these are all on the left side of the block.
Is there a way to rearrange these? c in upper right, and e in lower right, sort of the way a normal IGBT symbol is arranged?

Answers (1)

Yifeng Tang
Yifeng Tang on 24 Jul 2021
Don't know much about IGBT but this seems to be Simscape language syntax. After the "subcircuit2ssc" function, an object for ssc_build is generated so I guess it's a set of .ssc files. In the "nodes" section of the .ssc files, you can specify the location of the nodes with the comment on each line. More info here:
So, before you run the ssc_build, edit the .ssc files in the library folder to change the node location.

Community Treasure Hunt

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

Start Hunting!

Translated by