generating scaled model in Matlab

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Sheeba Davis
Posts: 16
Joined: Wed Oct 27, 2021 5:21 am

generating scaled model in Matlab

Post by Sheeba Davis » Wed Aug 31, 2022 3:59 pm

Hi

Is there a way to generate a scaled model in Matlab directly instead of running an XML file in OpenSim GUI using the scale tool? I could create an XML (scale setup) file in Matlab with a piece of code but could not generate a scaled model with that XML file.

Thanks,
Sheeba

Tags:

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

Re: generating scaled model in Matlab

Post by Thomas Uchida » Thu Sep 01, 2022 8:22 am

Yes, you can use the OpenSim Tools in Matlab. There are examples on GitHub and elsewhere (e.g., see the "Scripting with Matlab" page in the documentation: https://simtk-confluence.stanford.edu:8 ... ith+Matlab). Script 2 in the following SimTK project calls the Scale Tool from Python (the syntax in Matlab is similar): https://simtk.org/projects/quant_uncertain/.

User avatar
Sheeba Davis
Posts: 16
Joined: Wed Oct 27, 2021 5:21 am

Re: generating scaled model in Matlab

Post by Sheeba Davis » Thu Sep 01, 2022 11:27 am

Thank you Prof. Uchida, will try the mentioned methods.

Thanks
Sheeba

POST REPLY