Error using feval, I TRY TO MAKE A PLOT
Show older comments
THIS IS MY ERROR Error using feval Undefined function 'ezfcnchk' for input arguments of type 'inline'.
Error in inline/feval (line 19)
[varargout{1:max(1,nargout)}] = builtin('feval',varargin{:});
Error in specgraphhelper (line 31)
[varargout{1:nargout}] = feval(varargin{:});
Error in matlab.graphics.function.FunctionLine>getFunction
Error in matlab.graphics.function.FunctionLine/updateFunction
Error in matlab.graphics.function.FunctionLine/set.Function_I
Error in matlab.graphics.function.FunctionLine/set.Function
Error in matlab.graphics.function.FunctionLine
Error in fplot>singleFplot (line 226)
hObj = matlab.graphics.function.FunctionLine(fn{1},extraOpts{:},args{:});
Error in fplot>@(f)singleFplot(cax,{f},limits,extraOpts,args) (line 185)
hObj = cellfun(@(f) singleFplot(cax,{f},limits,extraOpts,args),fn{1},'UniformOutput',false);
Error in fplot>vectorizeFplot (line 185)
hObj = cellfun(@(f) singleFplot(cax,{f},limits,extraOpts,args),fn{1},'UniformOutput',false);
Error in fplot (line 156)
hObj = vectorizeFplot(cax,fn,limits,extraOpts,args);
Error in Taller_modelos>calcular_Callback (line 74)
fplot(handles.cuadro,pol,[min(x) max(x)]);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in Taller_modelos (line 16)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)Taller_modelos('calcular_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
1 Comment
Stephen23
on 9 Sep 2018
@Paula Gamez: what exactly is stored in handles.cuadro ?
Answers (1)
Walter Roberson
on 9 Sep 2018
0 votes
fplot is not defined for inline functions. You should assume that inline functions will fail in odd ways in any release after R13 (and I do not mean R2013*, I mean the release about a decade before that.)
Categories
Find more on Function Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!