How can I make a .p file from a .fig and .m file of my GUI?
2 views (last 30 days)
Show older comments
I've made a GUI and i don't know how to make .p file from it. Please Help Me.
Accepted Answer
Matt Fig
on 26 May 2011
If you want one stand alone file, do this:
- Open the GUI in GUIDE
- Choose: File > Export
- 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 Comment
Rohit Asalkar
on 17 Dec 2018
Dragging the pcode throwing an error because of uiopen function. Any work around for this?
More Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!