Optimize muscle-tendon parameters plugin

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Araceli Luque Martín-Sacristán
Posts: 10
Joined: Tue Apr 07, 2020 12:02 pm

Optimize muscle-tendon parameters plugin

Post by Araceli Luque Martín-Sacristán » Thu Dec 24, 2020 12:33 pm

Hello,

I am using an OpenSim plugin (https://simtk.org/projects/opt_muscle_par) to optimize the muscle tendon parameters to scale my model. When running it in Matlab I optain this error:

Undefined function or variable 'getJoint'.

Error in getJointsSpannedByMuscle (line 89)
spannedJoint = body.getJoint();

The API installed correctly in Matlab and I followed the steps adviced by the developer. I am using OpenSim 4.1, can it be an issue of the version?

Thank you!

Tags:

User avatar
Thomas Uchida
Posts: 1793
Joined: Wed May 16, 2012 11:40 am

Re: Optimize muscle-tendon parameters plugin

Post by Thomas Uchida » Sun Dec 27, 2020 6:46 am

Yes- according to the "Notes" page (https://simtk.org/frs/shownotes.php?release_id=1586), they used version 3.2. The Body class does not have a getJoint() method in version 4.1.

POST REPLY