need help creating standalone gui using m-file (no fig file, not using GUIDE)
显示 更早的评论
Hello--
I created a GUI in editor (not GUIDE) using just an m-file (no fig file). I then used deploytool to build & package (no problems with this).
Everything installs fine (including MCR) on a non-MATLAB PC, but upon running the GUI EXE, the EXE appears briefly in the task manager process list and then quickly disappears, and the GUI does not appear at all. Also, a beep can be heard, suggesting an error and not just a successful (but really fast) open & close.
Is there some protocol I need to follow when trying to create a Windows standalone GUI in this manner (i.e., not using GUIDE & no fig file)? Do I need to initialize the m-file (and/or any created figures) in some particualr way?
Using R2010a, Windows XP, & Windows 7 (all 64-bit).
Thanks in advance for any advice/suggestions.
Jude
4 个评论
Paulo Silva
2011-2-24
try fldplnfig instead of h.fldplnfig in the figure handle
Jude Kastens
2011-2-24
Jude Kastens
2011-2-24
Paulo Silva
2011-2-24
great :)
回答(1 个)
Wendy Fullam
2012-9-24
Paulo answered in comments:
try fldplnfig instead of h.fldplnfig in the figure handle
类别
在 帮助中心 和 File Exchange 中查找有关 App Building 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!