Static Optimization Code
- Alison Rogozinski
- Posts: 14
- Joined: Tue Jun 07, 2016 7:44 am
Static Optimization Code
Currently I am working on a project for work and my static optimization code ran perfectly for the first project. I copied the same code and it is now not working. I keep getting an error when I try and analyze the actuators section. Can anyone help? Thank you!
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: Static Optimization Code
What is the error?
- Alison Rogozinski
- Posts: 14
- Joined: Tue Jun 07, 2016 7:44 am
Re: Static Optimization Code
The error is:
Java exception occurred:
java.io.IOException: Object: ERR- Could not open file Actuators.xmlActuators.xml. It may not exist or you don't have
permission to read it.
at org.opensim.modeling.opensimModelJNI.new_AnalyzeTool__SWIG_2(Native Method)
at org.opensim.modeling.AnalyzeTool.<init>(AnalyzeTool.java:69)
Java exception occurred:
java.io.IOException: Object: ERR- Could not open file Actuators.xmlActuators.xml. It may not exist or you don't have
permission to read it.
at org.opensim.modeling.opensimModelJNI.new_AnalyzeTool__SWIG_2(Native Method)
at org.opensim.modeling.AnalyzeTool.<init>(AnalyzeTool.java:69)
- Dimitar Stanev
- Posts: 1096
- Joined: Fri Jan 31, 2014 5:14 am
Re: Static Optimization Code
It can't find the file Actuators.xml, which I suppose you have somewhere. Try to either provide it to SO if you are using the API or double check the path in your static optimization setup file.
- Alison Rogozinski
- Posts: 14
- Joined: Tue Jun 07, 2016 7:44 am
Re: Static Optimization Code
How can i prove it to the SO that I have it? Or where can i see the path to check if it is wrong?