为什么我的MATLAB用不了mesh和ezmesh用不了了0
晓洁385882013.08.09浏览199次分享举报
当我用ezmesh时出现
Warning: Warning: feval on script names will not work, or may work differently,
in a future version of MATLAB. To make your code insensitive to any change
and to suppress this warning message:
- Either change the script to a function.
- Or use eval instead of feval.
The script file in question is mesh.
> In ezgraph3>ezplot3s at 198
In ezgraph3 at 46
In ezmesh at 66
Error using feval
Attempt to execute SCRIPT mesh as a function:
C:\Users\lenovo\Documents\MATLAB\mesh.m
Error in ezgraph3>ezplot3s (line 198)
feval(surfstyle,cax,X,Y,Z);
Error in ezgraph3 (line 46)
h = ezplot3s(cax,Npts,f{:},domain,surfstyle,flabel,fargs,'st');
Error in ezmesh (line 66)
h = ezgraph3('mesh',args{:});
用mesh时出现
Error using feval
Attempt to execute SCRIPT mesh as a function:
C:\Users\lenovo\Documents\MATLAB\mesh.m
Error in ezgraph3>ezplot3s (line 198)
feval(surfstyle,cax,X,Y,Z);
Error in ezgraph3 (line 46)
h = ezplot3s(cax,Npts,f{:},domain,surfstyle,flabel,fargs,'st');
Error in ezmesh (line 66)
h = ezgraph3('mesh',args{:});
Undefined function 'Error' for input arguments of type 'char'.