Simulink Function in Custom Library Browser

1 Ansicht (letzte 30 Tage)
Charper
Charper am 1 Sep. 2015
Bearbeitet: Charper am 3 Sep. 2015
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.

Akzeptierte Antwort

Cam Salzberger
Cam Salzberger am 3 Sep. 2015
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 Kommentar
Charper
Charper am 3 Sep. 2015
Bearbeitet: Charper am 3 Sep. 2015
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by