Simulink Function in Custom Library Browser

조회 수: 1 (최근 30일)
Charper
Charper 2015년 9월 1일
편집: Charper 2015년 9월 3일
How do you make a Simulink Function (the relatively new block that pairs with the Function Caller) appear in a custom user library?
I can make it appear, but the library browser is treating it as an unmasked system and showing the internal contents. Unlike other Simulink blocks, I can't add a mask to this function.

채택된 답변

Cam Salzberger
Cam Salzberger 2015년 9월 3일
Hello,
I understand that you would like the Simulink Function Block to be masked so that the internals do not appear in the library browser. Unfortunately, the option to mask the function was intentionally disallowed when the block was released to emphasize that it is a function, and not a traditional block.
The developers are aware of the issue, and the option to allow masking is being considered for a future release of MATLAB.
I'm sorry I couldn't be of more help.
-Cam
  댓글 수: 1
Charper
Charper 2015년 9월 3일
편집: Charper 2015년 9월 3일
I appreciate the answer. I get not allowing a mask, but all I really want to do is "collapse" the function in the library browser.
I'm aware of the (undocumented?) ShowInLibBrowser parameter. Is there an equivalent method to keep a function's contents from expanding in the browser? I'm open to scripting or including an sl_customization entry.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by