Once I create a Subsystem in Simulink, I can expand it. But once expanded, I cannot collapse it again. Please let me know how to do this.

댓글 수: 4

Fangjun Jiang
Fangjun Jiang 2022년 5월 2일
Please specify what is "expand" and "collapse".
Ani R
Ani R 2022년 5월 3일
Please see the below screenshots. First screenshot shows the collapsed subsystem. Second screenshot has the same subsystem expanded. Once I expand the subsystem, I cannot find any option to revert it back to the collapsed state.
Fangjun Jiang
Fangjun Jiang 2022년 5월 9일
Use Model Browser. It is like a file/folder hierarchy for model, you can click anywhere to view it.
Ani R
Ani R 2022년 5월 10일
Thanks.

댓글을 달려면 로그인하십시오.

 채택된 답변

Jon
Jon 2022년 5월 2일
편집: Jon 2022년 5월 2일

1 개 추천

Just go back up one level to the parent

댓글 수: 6

Ani R
Ani R 2022년 5월 3일
That's not exactly what I meant. Please see my reply to Fangjun Jiang.
Jon
Jon 2022년 5월 3일
I assume that to expand the subsystem you did something like.
  1. Right click on subsystem
  2. Select Subsystem and Model Reference
  3. Select Expand Subsystem
Then to collapse it again:
  1. Right click on the expanded subsystem
  2. Select Create Subsystem from Area
Ani R
Ani R 2022년 5월 4일
I thought that might create a second subsystem.
Thanks. I will follow your instructions.
Jon
Jon 2022년 5월 4일
After reading this, I see that expanding a subsystem is useful if you really want to flatten (reduce the levels of heirarchy) in your model, but it is not just a means to view what is inside of the subsystem. It really makes changes to how your model is wired, eliminating ports and other details.
If you just want to see what is in the subsystem and not change anything then just double click on the subsystem and a window will open showing you the details of what is inside the subsystem. Then when you want to go back just click the upper arrow (shown in my first post).
Ani R
Ani R 2022년 5월 4일
Understood. Thanks.
Jon
Jon 2022년 5월 10일
Hi, if this answered your question please accept the answer. That will take it off of the list of unanswered questions, and also will let others with a similar question know that an answer is already available.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기

제품

릴리스

R2021b

태그

질문:

2022년 5월 2일

댓글:

Jon
2022년 5월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by