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

3 ビュー (過去 30 日間)
Anais G
Anais G 2021 年 12 月 1 日
回答済み: Yair Altman 2024 年 9 月 7 日
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 Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by