フィルターのクリア

open .m file GUI in GUIDE

8 ビュー (過去 30 日間)
Lotte
Lotte 2023 年 12 月 14 日
回答済み: Fangjun Jiang 2023 年 12 月 14 日
Hello,
I am new to Matlab GUI and I have a .m file that contains all the info for an already existing GUI. I would like to open this .m file in Guide so I can adjust the positions and add new components. Is there a way to do this? Is there another way maybe where I can visually adjust?

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2023 年 12 月 14 日
It depends. If the existing tool is developed using GUIDE and the GUI components are saved in a .fig file, then you can use GUIDE to open that .fig file and modify the GUI components directly.
But the tool could be developed and saved entirely in an .m file, using uifigure(), uibutton(), uicheckbox(), etc. then you have to read the .m file and find the places where the positions are set and modify it.
BTW, Warning: GUIDE will be removed in a future release. Use APPDESIGNER instead.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by