Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Custom Library-how to get single selection in library browser

1 vue (au cours des 30 derniers jours)
jakkesprinter
jakkesprinter le 18 Nov 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hey guys, i am working on a custom library. I want some sort of single selection in my simulink library browser, but i dont know how to achieve this:

Réponses (1)

XYZ
XYZ le 5 Déc 2016
Modifié(e) : XYZ le 5 Déc 2016
Hi,
I think you need this line under slblocks:
blkStruct.Browser(1).IsFlat = 1; % this ensures that the the library contains only one sublibrary.
Alternatively you could use the sl_customization(cm) function to organize your library browser appearance.
Hope it helps!

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by