Disable custom Toolstrip based on conditions, which could be validated in sl_customization function
11 views (last 30 days)
Show older comments
Hi,
I'm developing a custom Toolbox, which supplies also a custom Toolstrip in Simulink.
I want to add functionality to disable this toolstrip, if some conditions are not met.
E.g. the Toolbox provides infrastructure to extend Requirements Toolbox, and it makes no sense, if user didn't install yet the Requirements Toolbox, or he doesn't have the license activated.
Documentation refers only to possibility to disable particular actions on the toolstrip, which i can register in the sl_customization function, but not to hide/disable toolstrip completely.
Any hint?
Thank you!
Best regards,
Nick
2 Comments
dpb
ongeveer 2 uur ago
Never messed with them and don't have Simulink but couldn't/wouldn't your code be able to simply not create the pertinent toolstrip features if not pertinent? Or, if there are subsets, create those as tabbed, maybe?
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!