Hej,
thanks for the great help in this forum. We are quite far with using OpenSim via Matlab but are now at the point where we want to use the AnalyzeTool. Everything works fine so far. We can assign a model, the analysisset we want to have and also the bodies we want to analyse (we just want to have bodykinematics of all bodies). Printing the .xml setup file works also nicely and if we use this setup file within the GUI, it also works perfectly. But wenn we want to call: analyzeTool.run() we are getting following error:
Maybe someone can help us, because we do not understand, why we should specify a states file even though we are not using it.
Best Regards,
Markus
Using Analyze Tool via Matlab
- Markus Kurz
- Posts: 9
- Joined: Mon Jun 01, 2020 10:37 am
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: Using Analyze Tool via Matlab
Hi Markus,
You are getting an error, because the external force file is not specified. If you want to try going through the following link to see how others have used the analyze tool. Maybe you can find workarounds for your problem:
https://github.com/opensim-org/opensim-core/issues/2076
Please keep in mind that the tools were designed to be parametrized by the .xml file. There are some corner cases that raise issues when doing this through the API.
Dimitar
You are getting an error, because the external force file is not specified. If you want to try going through the following link to see how others have used the analyze tool. Maybe you can find workarounds for your problem:
https://github.com/opensim-org/opensim-core/issues/2076
Please keep in mind that the tools were designed to be parametrized by the .xml file. There are some corner cases that raise issues when doing this through the API.
Dimitar