MATLAB运行M文件 出现如下错误是什么意思?
???Errorusing==>loadUnabletoreadfileImageRegistration.fig:Nosuchfileordirectory.Error...
??? Error using ==> load
Unable to read file ImageRegistration.fig: No such file or directory.
Error in ==> hgload at 44
fileVars = load(filename,'-mat');
Error in ==> openfig at 89
[figs, oldvis] = hgload(filename, struct('Visible','off'));
Error in ==> gui_mainfcn>local_openfig at 206
gui_hFigure = openfig(name, singleton);
Error in ==> gui_mainfcn at 94
gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt);
Error in ==> ImageRegistration at 16
gui_mainfcn(gui_State,varargin{:}); 展开
Unable to read file ImageRegistration.fig: No such file or directory.
Error in ==> hgload at 44
fileVars = load(filename,'-mat');
Error in ==> openfig at 89
[figs, oldvis] = hgload(filename, struct('Visible','off'));
Error in ==> gui_mainfcn>local_openfig at 206
gui_hFigure = openfig(name, singleton);
Error in ==> gui_mainfcn at 94
gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt);
Error in ==> ImageRegistration at 16
gui_mainfcn(gui_State,varargin{:}); 展开
展开全部
你缺少ImageRegistration.fig文件,你只放了ImageRegistration.m文件
ImageRegistration.fig就是你画的GUI界面文件
ImageRegistration.fig就是你画的GUI界面文件
追问
设计GUI界面有两种办法,一:只用M文件编写代码,二:GUIDE添加回调函数。可是书上说:上述设计的程序运行界面如图(是个GUI界面)所示。书上设计的程序是分了几部分:1 主程序 一堆代码,2 选择图象 一堆代码,低通滤波 一堆代码等等共7 个部分。书上貌似还用了GUIDE画了GUI界面?可是书上并没有说用了GUIDE工具!只用M文件不用GUIDE不也能编写GUI界面吗?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询