Effacer les filtres
Effacer les filtres

Simulink Function in Custom Library Browser

1 vue (au cours des 30 derniers jours)
Charper
Charper le 1 Sep 2015
Modifié(e) : Charper le 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.

Réponse acceptée

Cam Salzberger
Cam Salzberger le 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 commentaire
Charper
Charper le 3 Sep 2015
Modifié(e) : Charper le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by