When I run a model with a MATLAB block, I get the following error message:
MATLAB Function Interface Error: Error calling generated SFunction, untitled_sfun. Undefined function or method 'untitled_sfun' for input arguments of type 'double'.
simulink
MATLAB Function Interface Error: Error calling generated SFunction, untitled_sfun. Undefined function or method 'untitled_sfun' for input arguments of type 'double'.
Best Answer