打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
The MathWorks - Bug Reports - 452282 - System error resulting in a corrupted FIG-file when building a GUI in GUIDE

Summary

 

System error resulting in a corrupted FIG-file when building a GUI in GUIDE

Description

 

When building GUIs in GUIDE, saving the GUI or performingedits in GUIDE can generate an exception that displays in a MATLABSystem Error dialog, and result in a corrupted GUI FIG-file file.

Thecorrupted GUI FIG-file cannot be restored, causing the GUI to becomeunusable; if you attempt to open the GUI, the following error mightdisplay:

 Error using ==> hgload at 53 invalid Figure file format

Workaround

 

To work around this issue, replace the version of the guidemfile.m function in your current R2008a installation with the updated version attached, as follows:

  1. Exit MATLAB.
  2. Make a backup copy of the following file. matlabroot\toolbox\matlab\guide\guidemfile.m
    matlabroot represents the name of your MATLAB installation directory, as returned by the matlabroot function.
    For example, rename the existing file, adding "old" to the file extension, guidemfile.m.OLD.
  3. Download the attached file, guidemfile.m, storing it the directory specified in the previous step.
  4. Restart MATLAB.
  5. Run the rehash toolbox command at the MATLAB prompt.

The workaround prevents the corruption of new GUIs. It does not repair old GUIs that are already corrupted.

Fix

 

The fix prevents the corruption of new GUIs. It does not repair old GUIs that are already corrupted.

Attachments

Exists in Release (Version)


Exists in R2008a(7.6)

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
转贴:Matlab GUIDE使用总结--Matlab GUI界面
MATLAB GUI平台
让你的sourceinsight也能编辑matlab程序
Matlab用plot画图后怎么保存图像
关于matlab安装后无法与.m、.mat、.fig文件之类关联解决方案
matlab安装过程错误及解决方案
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服