Hello Mr. Akhavanfar,
I studied your research about Development of a novel MATLAB-based framework for... and I would like to use your MATLAB code in my project
but when I run your code with your default setting I get the following error :
Error using IDAnalysis (line 28)
Java exception occurred:
java.io.IOException: InverseDynamicsTool Failed, please see messages window for details...
at org.opensim.modeling.opensimModelJNI.InverseDynamicsTool_run(Native Method)
at org.opensim.modeling.InverseDynamicsTool.run(InverseDynamicsTool.java:117)
Error in Main (line 74)
ID= IDAnalysis(ModelFilePath,ModelFileName,AnalyzeFilePath,AnalyzeFileName,MotionFilePath,MotionFileName,initial_time,final_time,extLoadsXml);
I have successfully configured OpenSim with Matlab such as Environment setting in Windows and path setting in Matlab so I don't know what is wrong
if possible please guide me
Thank in advance
Error using IDAnalysis
- Mohammadhossein Akhavanfar
- Posts: 19
- Joined: Mon Oct 16, 2017 9:11 am
Re: Error using IDAnalysis
Hello Mojtaba,
It's probably because you didn't change the directory path in the xml file setup or you put a wrong directory in the first lines of the main file.
Please open External_Load.xml. Then, in the <datafile> section, copy and paste the right directory in your computer. Attached is the pic of that section based on where I saved the folder in my laptop.
It's probably because you didn't change the directory path in the xml file setup or you put a wrong directory in the first lines of the main file.
Please open External_Load.xml. Then, in the <datafile> section, copy and paste the right directory in your computer. Attached is the pic of that section based on where I saved the folder in my laptop.