Problem in using OpenSim with Simulink
Posted: Mon May 04, 2015 3:21 am
Hi,
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
as used in Matlab.
But I got a coder error message "Command-duality is not supported.".
So, I changed that like
But now, I got a coder error message "Import statements are currently unsupported".
How can I solve this problem? Should I use other type of function block in Simulink?
(Like S-function?)
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?)