When creating a library with submodel blocks, they all expand to sublibraries by default as I understand. So all components inside, even standard blocks, are beeing added as entites to pick. This quickly clutters the quick insert context menu if I dubbel-click in a model and also the library browser.
I have found this related very old answer
https://se.mathworks.com/matlabcentral/answers/101698-how-do-i-add-custom-libraries-as-a-tree-structure-without-spilling-its-contents-and-how-do-i-add-des#answer_111046
Is that answer still valid? Do we still have to mask submodels or creating scripts to avoid this?
Feels like work-arounds for something that should be easier. Maybe there is a simpler way nowadays? Like a checkbox to tick somewhere.
Note that I am not looking for a way to prevent inspection of the submodels, just to prevent their contents from beeing indexed and expanded in the library broswer and quick inster menus.When creating a library with submodel blocks, they all expand to sublibraries by default as I understand. So all components inside, even standard blocks, are beeing added as entites to pick. This quickly clutters the quick insert context menu if I dubbel-click in a model and also the library browser.
I have found this related very old answer
https://se.mathworks.com/matlabcentral/answers/101698-how-do-i-add-custom-libraries-as-a-tree-structure-without-spilling-its-contents-and-how-do-i-add-des#answer_111046
Is that answer still valid? Do we still have to mask submodels or creating scripts to avoid this?
Feels like work-arounds for something that should be easier. Maybe there is a simpler way nowadays? Like a checkbox to tick somewhere.
Note that I am not looking for a way to prevent inspection of the submodels, just to prevent their contents from beeing indexed and expanded in the library broswer and quick inster menus. When creating a library with submodel blocks, they all expand to sublibraries by default as I understand. So all components inside, even standard blocks, are beeing added as entites to pick. This quickly clutters the quick insert context menu if I dubbel-click in a model and also the library browser.
I have found this related very old answer
https://se.mathworks.com/matlabcentral/answers/101698-how-do-i-add-custom-libraries-as-a-tree-structure-without-spilling-its-contents-and-how-do-i-add-des#answer_111046
Is that answer still valid? Do we still have to mask submodels or creating scripts to avoid this?
Feels like work-arounds for something that should be easier. Maybe there is a simpler way nowadays? Like a checkbox to tick somewhere.
Note that I am not looking for a way to prevent inspection of the submodels, just to prevent their contents from beeing indexed and expanded in the library broswer and quick inster menus. library browser, search index, quick insert MATLAB Answers — New Questions
