How can I add more tabs to the block dialog box of a simscape component?

조회 수: 1 (최근 30일)
Argiñe
Argiñe 2018년 1월 22일
댓글: Argiñe 2018년 1월 30일
Apart from the default tabs that are shown in the block dialog box of a simscape component block (i.e. 'Parameters', 'Variables'...), how can I add (or remove) more tabs? Thanks!

답변 (1개)

Julia Antoniou
Julia Antoniou 2018년 1월 25일
Hi Argiñe,
It is not possible to make these kinds of changes to the dialogs of blocks from standard Simulink libraries unless you break their library links - which I would not recommend.
Instead, create your own custom mask on top of any block. On that custom mask, you can include whatever tabs and parameters you would like. To create a mask on top of the Simscape block, right click on the block, select "Mask", and then select "Create mask".
If you have not worked with Simulink masks before, I would read through some of our documentation first. To start, take a look at this page on masking fundamentals. Then, you could create a mask by following the steps in this example.
To read more about masks in Simulink, see this documentation page.
  댓글 수: 1
Argiñe
Argiñe 2018년 1월 30일
Hi Julia,
Thank you very much for your answer. I will create my own mask as I usually do in Simulink.
Thanks!

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

카테고리

Help CenterFile Exchange에서 Composite Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by