Can I make my gui look like MATLAB's diagram viewer?

7 次查看(过去 30 天)
MATLAB's diagram viewer is of course just an example. Currently I'm programmatically writing my gui with a uifigure, I assume that's similar to app designer's style. I strongly dislike how slow it is and it's also looking amateuristically.
I found the ToolGroup object on Undocument Matlab and I've explored it a bit, but there's not much more info about it. Does anyone know where I can find more about it? Or could anyone tell me how the main panel below the toolstrip can be populated? Do I place a figure there and populate the figure with uicontrols? Or is there another technique?

回答(1 个)

Yair Altman
Yair Altman 2024-9-7
You can indeed create custom GUI toolstrips in Matlab, as I have shown in the following series of articles (it's a series of articles, not just one): 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.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by