MATLAB does not recognize constructors
Posted: Wed Aug 09, 2023 3:56 pm
Hello!
I am new to using OpenSim (version 4.4) and I'd like to use it in Matlab. I ran the configureOpenSim function and my script includes the import org.opensim.modeling.*; command at the very beginning. Both OpenSim and Matlab are 64 bit. Yet, Matlab is unable to recognize constructors of model classes in the namespace opensim and opensim.modeling. I'd like to use the constructor of model class "Bhargava2004SmoothedMuscleMetabolics" but I am unable to do so. The error I get when trying to create an instance is "Unrecognized function or variable". I have tried to restart Matlab but I still get the same error. I believe Matlab has not properly configured, but I am not sure what else I can do to troubleshoot. Any insights will be helpful!
Thank you!
Gauri
I am new to using OpenSim (version 4.4) and I'd like to use it in Matlab. I ran the configureOpenSim function and my script includes the import org.opensim.modeling.*; command at the very beginning. Both OpenSim and Matlab are 64 bit. Yet, Matlab is unable to recognize constructors of model classes in the namespace opensim and opensim.modeling. I'd like to use the constructor of model class "Bhargava2004SmoothedMuscleMetabolics" but I am unable to do so. The error I get when trying to create an instance is "Unrecognized function or variable". I have tried to restart Matlab but I still get the same error. I believe Matlab has not properly configured, but I am not sure what else I can do to troubleshoot. Any insights will be helpful!
Thank you!
Gauri