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

1 次查看(过去 30 天)
I've made a GUI and i don't know how to make .p file from it. Please Help Me.

采纳的回答

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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by