MSK model creation scripts

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Rodrigo Mateus
Posts: 57
Joined: Thu Feb 22, 2018 3:07 am

MSK model creation scripts

Post by Rodrigo Mateus » Tue Jan 21, 2020 9:32 am

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

Tags:

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: MSK model creation scripts

Post by Ayman Habib » Tue Jan 21, 2020 9:56 am

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

User avatar
Rodrigo Mateus
Posts: 57
Joined: Thu Feb 22, 2018 3:07 am

Re: MSK model creation scripts

Post by Rodrigo Mateus » Tue Jan 21, 2020 12:06 pm

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.
sheep.png
sheep.png (131.99 KiB) Viewed 197 times
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...

POST REPLY