Page 1 of 1

Change muscle attachment locations

Posted: Wed Jun 13, 2018 10:14 am
by mulladm
Hi everyone,

Is there a quick way to change the origin and insertion attachments of a muscle in Matlab and have OpenSim re-calculate/update its Path around a wrapping object? I tried using the "replacePathPoint" function but it doesn't have an input for specifying the new position.

Thank you!

Dan

Re: Change muscle attachment locations

Posted: Thu Jun 14, 2018 1:40 pm
by mulladm
Figured out a workaround from using the API functions for those who might encounter a similar issue -- can edit the .osim file before importing the model by using the "fopen" function in Matlab and changing the exact line that's needed and saving that to file.

Dan