How can I make a .p file from a .fig and .m file of my GUI?

2 ビュー (過去 30 日間)
Mahdi
Mahdi 2011 年 5 月 26 日
コメント済み: Rohit Asalkar 2018 年 12 月 17 日
I've made a GUI and i don't know how to make .p file from it. Please Help Me.
  1 件のコメント
Sean de Wolski
Sean de Wolski 2011 年 5 月 26 日
Good reason not to use GUIDE.

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

採用された回答

Matt Fig
Matt Fig 2011 年 5 月 26 日
If you want one stand alone file, do this:
  1. Open the GUI in GUIDE
  2. Choose: File > Export
  3. Pick a name for an M-file, say: mygui
Now you have a single file (an M-file) which can run without the FIG-file. If you still want to turn it to a p-code file, then do:
pcode mygui % Use the name of the file you picked above.
  1 件のコメント
Rohit Asalkar
Rohit Asalkar 2018 年 12 月 17 日
Dragging the pcode throwing an error because of uiopen function. Any work around for this?

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

その他の回答 (0 件)

カテゴリ

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