Calculating Muscle Lengths in MATLAB using OpenSim
Posted: Fri Jun 26, 2015 2:05 pm
Hi All,
I have experience with both OpenSim and MATLAB, but I am having a difficult time understanding how they fit together. I have already found how to load my model, but I am not sure how to apply a .mot to it and then extract the muscle length data (as a function of the motion) to store into a MATLAB structure. Is there a library somewhere that shows all of the usable OpenSim functions in MATLAB? I am not sure where all of the functions in the MATLAB examples are coming from. I found a method for finding this information exclusively through the OpenSim GUI, but I am hoping to write MATLAB code to automate the process. Any help is appreciated.
Colton
I have experience with both OpenSim and MATLAB, but I am having a difficult time understanding how they fit together. I have already found how to load my model, but I am not sure how to apply a .mot to it and then extract the muscle length data (as a function of the motion) to store into a MATLAB structure. Is there a library somewhere that shows all of the usable OpenSim functions in MATLAB? I am not sure where all of the functions in the MATLAB examples are coming from. I found a method for finding this information exclusively through the OpenSim GUI, but I am hoping to write MATLAB code to automate the process. Any help is appreciated.
Colton