fengjing 发表于 2006-5-17 13:24

设计好的同名.m和.fig文件,为什么不能运行?

<P>确定是没有错误的程序,提示错误如下,不知是什么原因,请指教,谢谢了!!!<BR>&gt;&gt; main<BR>??? Error using ==&gt; load<BR>Unable to read MAT file E:\matlab\main.fig</P>
<P>See FILEFORMATS for a list of known file types and the functions used to read them.</P>
<P>Error in ==&gt; C:\toolbox\matlab\iofun\hgload.m<BR>On line 45==&gt; fileVars = load(filename,'-mat');</P>
<P>Error in ==&gt; C:\toolbox\matlab\graphics\openfig.m<BR>On line 89==&gt;       = hgload(filename, struct('Visible','off'));</P>
<P>Error in ==&gt; C:\toolbox\matlab\uitools\gui_mainfcn.m (local_openfig)<BR>On line 184==&gt;   gui_hFigure = openfig(name, singleton, 'auto');</P>
<P>Error in ==&gt; C:\toolbox\matlab\uitools\gui_mainfcn.m<BR>On line 82==&gt;         gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt);            </P>
<P>Error in ==&gt; E:\matlab\main.m<BR>On line 42==&gt;   gui_mainfcn(gui_State, varargin{:});<BR></P>

ericlin 发表于 2006-5-17 16:42

什么程序啊?
页: [1]
查看完整版本: 设计好的同名.m和.fig文件,为什么不能运行?