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
generating scaled model in Matlab
- Sheeba Davis
- Posts: 16
- Joined: Wed Oct 27, 2021 5:21 am
- Thomas Uchida
- Posts: 1793
- Joined: Wed May 16, 2012 11:40 am
Re: generating scaled model in Matlab
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/.
- Sheeba Davis
- Posts: 16
- Joined: Wed Oct 27, 2021 5:21 am
Re: generating scaled model in Matlab
Thank you Prof. Uchida, will try the mentioned methods.
Thanks
Sheeba
Thanks
Sheeba