Page 1 of 1

AnalyzeTool API error in MATLAB

Posted: Sat Feb 24, 2018 3:51 am
by jackzhao123
Dear All:
When I try to use the MATLAB API AnalyzeTool, it prompts:

ava exception occurred:
java.io.IOException: analyzeTool.verifyControlsStates: ERROR- a storage object containing the time histories of states was not specified.

at org.opensim.modeling.opensimModelJNI.AnalyzeTool_run__SWIG_0(Native Method)

at org.opensim.modeling.AnalyzeTool.run(AnalyzeTool.java:154)

How should we solve this problem ?

Best regards
Jack

Re: AnalyzeTool API error in MATLAB

Posted: Sun Feb 25, 2018 4:56 pm
by tkuchida
ERROR- a storage object containing the time histories of states was not specified.
A states file was not provided (https://github.com/opensim-org/opensim- ... l.cpp#L469). The "setupAndRunAnalyzeBatchExample.m" example might be helpful (see the "Scripting with Matlab" page in the Confluence documentation, https://simtk-confluence.stanford.edu:8 ... ith+Matlab).

Re: AnalyzeTool API error in MATLAB

Posted: Mon Feb 26, 2018 1:56 am
by jackzhao123
tkuchida wrote:
ERROR- a storage object containing the time histories of states was not specified.
A states file was not provided (https://github.com/opensim-org/opensim- ... l.cpp#L469). The "setupAndRunAnalyzeBatchExample.m" example might be helpful (see the "Scripting with Matlab" page in the Confluence documentation, https://simtk-confluence.stanford.edu:8 ... ith+Matlab).
Dear Tom:
Thanks a lot!

Regards
Jack