AnalyzeTool API error in MATLAB

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Jack Zhao
Posts: 94
Joined: Thu Jul 24, 2014 7:15 am

AnalyzeTool API error in MATLAB

Post by Jack Zhao » Sat Feb 24, 2018 3:51 am

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

User avatar
Thomas Uchida
Posts: 1776
Joined: Wed May 16, 2012 11:40 am

Re: AnalyzeTool API error in MATLAB

Post by Thomas Uchida » Sun Feb 25, 2018 4:56 pm

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).

User avatar
Jack Zhao
Posts: 94
Joined: Thu Jul 24, 2014 7:15 am

Re: AnalyzeTool API error in MATLAB

Post by Jack Zhao » Mon Feb 26, 2018 1:56 am

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

POST REPLY