I used OpenSim-MATLAB for FD/ID simulations.
Now, I'm trying to use it with Simulink, but I got a problem.
I tried to use OpenSim-MATLAB functions as Embbeded MATLAB Function block of Simulink.
at first, I used import OpenSim like
Code: Select all
import org.opensim.modeling.*;
But I got a coder error message "Command-duality is not supported.".
So, I changed that like
Code: Select all
import('org.opensim.modeling.*');
How can I solve this problem? Should I use other type of function block in Simulink?
(Like S-function?)