From: Doug on 28 Jun 2010 21:31 I receive the following error messages when running the following scripts using mesh or surf commands with MATLAB Student Version 7.10 (R2010a) installed on a stand-alone PC running Windows XP. % Script Filename: Prob271.m x=-1:0.1:3; y=1:0.1:4; [X,Y]=meshgrid(x,y); Z=X.*Y.^2./(X.^2+Y.^2); mesh(X,Y,Z) xlabel('x'); ylabel('y'); zlabel('z') ??? Error: File: usev6plotapi.m Line: 1 Column: 1 The input character is not valid in MATLAB statements or expressions. Error in ==> mesh at 57 [v6,args] = usev6plotapi(varargin{:},'-mfilename',mfilename); % Script Filename: Prob272.m x=-1:0.1:3; y=1:0.1:4; [X,Y]=meshgrid(x,y); Z=X.*Y.^2./(X.^2+Y.^2); surf(X,Y,Z) xlabel('x'); ylabel('y'); zlabel('z') ??? Error: File: usev6plotapi.m Line: 1 Column: 1 The input character is not valid in MATLAB statements or expressions. Error in ==> surf at 56 [v6,args] = usev6plotapi(varargin{:},'-mfilename',mfilename);
From: Maxx on 28 Jun 2010 21:58 Doug, MatLab comes with a gui.m example (I'm pretty sure) that uses the mesh, peaks, and contour functions. Call guide and open existing gui. If not, check this out http://www.youtube.com/watch?v=D_hmws6dwgg (sorry for the accent) Maxx
From: Steven Lord on 29 Jun 2010 10:04 "Doug " <dhj2(a)email.vccs.edu> wrote in message news:i0bico$c1o$1(a)fred.mathworks.com... >I receive the following error messages when running the following scripts >using mesh or surf commands with MATLAB Student Version 7.10 (R2010a) >installed on a stand-alone PC running Windows XP. > % Script Filename: Prob271.m > x=-1:0.1:3; > y=1:0.1:4; > [X,Y]=meshgrid(x,y); > Z=X.*Y.^2./(X.^2+Y.^2); > mesh(X,Y,Z) > xlabel('x'); ylabel('y'); zlabel('z') > > ??? Error: File: usev6plotapi.m Line: 1 Column: 1 > The input character is not valid in MATLAB statements or > expressions. What do you receive as output from the following commands? which -all usev6plotapi.m dbtype 1:10 usev6plotapi.m -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
|
Pages: 1 Prev: How to set optimization flag for the compilers? Next: Automating image analysis |