simscape block node arrangement

조회 수: 1 (최근 30일)
Matthew Mishrikey
Matthew Mishrikey 2021년 7월 21일
답변: Yifeng Tang 2021년 7월 24일
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?

채택된 답변

Yifeng Tang
Yifeng Tang 2021년 7월 24일
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: https://www.mathworks.com/help/physmod/simscape/lang/nodes.html
So, before you run the ssc_build, edit the .ssc files in the library folder to change the node location.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Choose and Parameterize Blocks에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by