From: LILIA on
I want to get the inverse kinematic model of a robot using the Jacobian matrix, I came up with the matrix and I made a simulink model with an embedded function in which the parameters are the desired position and the desired joint values (feedback)
when I called the function I got this error message

??? Error reported by S-function 'sf_sfun' in 'file':
Errors occurred during parsing of Embedded MATLAB function 'Embedded
MATLAB Function'(#28).

Can anybody help me, thanks in advance