MATLAB: How to use matlab ‘spline’ function in simulink

MATLAB and Simulink Student Suitespline in simulink

Hi, I was trying to generate robot trajectory using spline function in simulink, I tried with all user function block available in simulink library but it is getting error the image is shown below. Can anybody help for this issue.

Best Answer

Hi,
the error message tells you what to do, namely "declare" spline as being used not by code generation but by MATLAB:
doc coder.extrinsic
Titus