Is there a migration path from gui's made in guide to programmatic gui's?

2 ビュー (過去 30 日間)
John Petersen
John Petersen 2013 年 2 月 5 日
回答済み: Gouater Loic 2019 年 6 月 29 日
I'm getting tired of GUIDE bogging down. Is there a way to convert my .fig file to a programmatic GUI (other than manually)? Or some way to help me do it manually like get a listing of the controls and their positions or something.
  1 件のコメント
Gouater Loic
Gouater Loic 2019 年 6 月 29 日
I recently wrote a code which does just that. Check the youtube video explanation at https://www.youtube.com/watch?v=1CFl3ItzFeE&t=40s&pbjreload=10 and from the video's description you could get the code

サインインしてコメントする。

採用された回答

Jan
Jan 2013 年 2 月 6 日
編集済み: Jan 2013 年 2 月 6 日
  1 件のコメント
John Petersen
John Petersen 2013 年 2 月 6 日
Thanks! Hopefully it works for newer versions too.

サインインしてコメントする。

その他の回答 (2 件)

Sean de Wolski
Sean de Wolski 2013 年 2 月 6 日
You can export a GUIDE GUI to a single file from within GUIDE. From here it would be easier to deGUIDEify the various callbacks and turn everything into subfunctions/nested functions.
Frankly though, it can be really difficult to successfully modify the architecture of GUIDE GUIs. I would just recommend starting over with OOP or regular programmatic guis.
Especially with OOP, it's very straightforward to get your feet wet and have functional GUIs really quickly.
Also worthy of mentioning:

Gouater Loic
Gouater Loic 2019 年 6 月 29 日
I recently wrote a code which does just that. Check the youtube video explanation at https://www.youtube.com/watch?v=1CFl3ItzFeE&t=40s&pbjreload=10 and from the video's description you could get the code

カテゴリ

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