필터 지우기
필터 지우기

Simscape Custom Blocks: New Tab in block dialog box

조회 수: 1 (최근 30일)
Remo
Remo 2014년 5월 26일
답변: Maxwell Thompson 2019년 8월 13일
I am woking on some custom Simulink/Simscape blocks und would like to add new tabs in the block dialog box besides the Parameters and Variables tab. How can I do this?
  댓글 수: 1
Oliver
Oliver 2015년 6월 2일
Am I right, assuming that it is not possible to add Tabs to a custom Simscape block?

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

답변 (1개)

Maxwell Thompson
Maxwell Thompson 2019년 8월 13일
Hello Remo,
I also work with custom simscape components and it appears that this functionality does not yet exist within the simscape language. I have a particurlarly long list of parameters that I would like to catergorize as well. The only current workaround that I know of seems to be to mask the generated simscape block and assign tabs that way which can be tedious. However it comes with a caveat that if you mask the block directly (Simscape Custom components at least) it will most likely crash the simulation on first runs. A work around to that is to put the block (or copy of the block) into a subsystem and mask the subsystem. This, for whatever reason, seems to mitigate the crashing.
I would put in an enhancement request to mathworks though, as this seems like an important behaviour to be able to code.
Sincerely,
Maxwell

카테고리

Help CenterFile Exchange에서 Nonlinear Operators에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by