Info
此问题已关闭。 请重新打开它进行编辑或回答。
Custom Library-how to get single selection in library browser
1 次查看(过去 30 天)
显示 更早的评论
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158167/image.png)
0 个评论
回答(1 个)
XYZ
2016-12-5
编辑:XYZ
2016-12-5
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!
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!