I have some code i put into a matlab function block on simulink, I need to intergrate a function twice and the orignal function also needs to be differentiated. There is a little more the matlab function block but below is an example. How can I get rid of the error produced? Do I have to do an extrinsic coder thing or should I just use the integrator block to do this block wise?
This is the error produced
Function 'syms' not supported for code generation.
Component:MATLAB Function | Category:Coder error