Simulink Function in Custom Library Browser

1 次查看(过去 30 天)
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