Error using feval, I TRY TO MAKE A PLOT

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 Commento

@Paula Gamez: what exactly is stored in handles.cuadro ?

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 9 Set 2018
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.)

Categorie

Tag

Richiesto:

il 9 Set 2018

Risposto:

il 9 Set 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by