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

4 Ansichten (letzte 30 Tage)
Mahdi
Mahdi am 26 Mai 2011
Kommentiert: Rohit Asalkar am 17 Dez. 2018
I've made a GUI and i don't know how to make .p file from it. Please Help Me.

Akzeptierte Antwort

Matt Fig
Matt Fig am 26 Mai 2011
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 Kommentar
Rohit Asalkar
Rohit Asalkar am 17 Dez. 2018
Dragging the pcode throwing an error because of uiopen function. Any work around for this?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by