Hi there!
I am currently creating a musculoskeletal model and I am having some difficulty in writing the script to certain said model.
The scripts given by the OpenSim group are great but I would like to ask if there are more matlab scripts which create complete musculoskeletal models with more details.
Thank you in advance!
Rodrigo
MSK model creation scripts
- Rodrigo Mateus
- Posts: 57
- Joined: Thu Feb 22, 2018 3:07 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: MSK model creation scripts
Thanks for your note Rodrigo,
Can you be more specific as to what you need to include in your model? Most test cases in our code repository/source create models programmatically. They're typically written in C++ but the translation to Matlab should be straightforward. Please let us know if you run into problems translating these scripts to Matlab, or better if you are willing to convert/contribute these Scripts to help the OpenSim/Matlab user community.
Best regards,
-Ayman
Can you be more specific as to what you need to include in your model? Most test cases in our code repository/source create models programmatically. They're typically written in C++ but the translation to Matlab should be straightforward. Please let us know if you run into problems translating these scripts to Matlab, or better if you are willing to convert/contribute these Scripts to help the OpenSim/Matlab user community.
Best regards,
-Ayman
- Rodrigo Mateus
- Posts: 57
- Joined: Thu Feb 22, 2018 3:07 am
Re: MSK model creation scripts
Hi Ayman,
Thank you so much for the quick reply. I am creating a sheep hindlimb model with the hip as a ball and socket joint, the knee with only flex/ext dof and ankle as joints with translations and rotations in the sagittal plane and the phalangeal joints a a revolute joint.
I was already able to insert the rigid bodies, but I am having a lot of difficulties in implementing the joints with matlab code. Also when I try to insert a physical offset frame and wrapping cylinders to characterize the rigid body, I get this error when I try to open the model in opensim, as you can see below.
From the examples available, I am not able to depict where the source of error is or how to correct it, and my inexperience on creating msk models does not help...
Thank you so much for the quick reply. I am creating a sheep hindlimb model with the hip as a ball and socket joint, the knee with only flex/ext dof and ankle as joints with translations and rotations in the sagittal plane and the phalangeal joints a a revolute joint.
I was already able to insert the rigid bodies, but I am having a lot of difficulties in implementing the joints with matlab code. Also when I try to insert a physical offset frame and wrapping cylinders to characterize the rigid body, I get this error when I try to open the model in opensim, as you can see below.
From the examples available, I am not able to depict where the source of error is or how to correct it, and my inexperience on creating msk models does not help...