Create a toolstrip in App Designer?
5 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am trying to create a tool strip like those frequently used in the build in apps like Economic Modeler (and in the App Designer itself ) however I can't seem to recreate the same features.

For example : when I add a Container -> Tab Group, I can only set the app.UIFigure.Tab Background Color property but not the app.UIFigure.Tab Background Color property. How do I do this like in the MyAPP below to make it look like the Matlab ones (Econ Modeller), that is dark blue strip and light blue (unselected) tabs ?

Q2: Also, wouldn't it be a lot more helpful for Matlab to include the *.mlapp files for users can see how they are created?
3 个评论
Yair Altman
2024-9-7
You can indeed create custom toolstrips in Matlab, as I have shown in the following series of articles: https://undocumentedmatlab.com/articles/tag/toolstrip
Note that this relies on functionality that is not officially supported by MathWorks, but works very well in practice for the past 10-15 Matlab releases. It is only the builtin set of examples that was removed as you discovered - the underlying functionality remains valid to this day and you can create custom toolstrip apps.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!