matlab gui打不开,matlab GUI无法打开??

系统:Windows XP SP2

软件版本:MATLAB R2008a

前几天学习MATH的GUI视频,跟着做了学生成绩查询系统,当时运行没有什么问题,一切正常。昨天对电脑用超级兔子进行清理系统,今天打开MATLAB后就无法打开GUI了。

重新启动MATLAB,改变到当时做的那个目录(已经加入到搜索路径)之后,右击学生成绩管理系统,选择“open”之后,命令窗口出现下面提示:

??? Error using ==> subsindex

Function 'subsindex' is not defined for values of class 'function_handle'.

Error in ==> cellstr at 28

c{i} = deblank(s(i,:));

Error in ==> errordlg at 47

ErrorString = cellstr(ErrorStringIn);

Error in ==> uiopen at 216

errordlg(lasterr);

C:\Documents and Settings\Administrator\桌面\1.bmp

后来想通过先启动GUI的小图标,然后在打开成绩管理系统,但是命令窗口又出现了下面的提示:

??? Error using ==> subsindex

Function 'subsindex' is not defined for values of class 'function_handle'.

Error in ==> dialog at 85

hDialog = figure('BackingStore'     ,backstore , ...

Error in ==> guidetemplate at 25

hDialog = dialog('Name', title,'visible','off','position',[0, 0, size.width, size.height]);

Error in ==> guide at 69

guidetemplate;

??? Error using ==> subsindex

Function 'subsindex' is not defined for values of class 'function_handle'.

Error in ==> cellstr at 28

c{i} = deblank(s(i,:));

Error in ==> errordlg at 47

ErrorString = cellstr(ErrorStringIn);

Error in ==> guidefunc>showErrorDialog at 3781

h = errordlg(message, title);

Error in ==> guidefunc at 152

showErrorDialog('Unhandled internal error in guidefunc');

com.mathworks.jmi.MatlabException: Error using ==> subsindex

Function 'subsindex' is not defined for values of class 'function_handle'.

at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)

at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:211)

at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:121)

at com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1465)

at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:182)

at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:159)

at com.mathworks.toolbox.matlab.guide.utils.LayoutWorker.runOnMatlabThread(LayoutWorker.java:51)

at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:73)

at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:352)

C:\Documents and Settings\Administrator\桌面\2.bmp

后来重新装了下MATLAB R2008a,问题还是没有解决。

不知道有哪位仁兄知道解决方法?

[本帖最后由 edifiers2008 于 2009-3-31 16:14 编辑]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值