Matlab crashes during RRATool
Posted: Tue Aug 06, 2019 4:25 am
hello everyone, I have a problem when using RRATool in Matlab. I have used the rra_setup.xml successfully in opensim 4.0 GUI,but when I used it in RRATool in matlab, the matlab crashed. the problem is shown following.
The process showed that the crashes ocurred when the Matlab want to process the IPOPT optimizer algorithm.
I do not know whether the problem resulted by the IPOPT or the RRATool.run.
Thank you for your reply.
Best regards,
Yali Liu
the part codes in my calculation, all the sentences can perform well except rraTool.run()
initial_time = motdata.data(1,1);
final_time =motdata.data(end,1);
% Setup the rraTool for this trial
rraTool.setName(nameik);
rraTool.setStartTime(initial_time);
rraTool.setFinalTime(final_time);
rraTool.setDesiredKinematicsFileName(fullpath);%ik.mot
rraTool.setExternalLoadsFileName(fullfile(externalloadspath));
rraTool.setResultsDir(rra_results_dir);
rraTool.setTaskSetFileName(TasksetFileName);
rraTool.run();
The process showed that the crashes ocurred when the Matlab want to process the IPOPT optimizer algorithm.
I do not know whether the problem resulted by the IPOPT or the RRATool.run.
Thank you for your reply.
Best regards,
Yali Liu
the part codes in my calculation, all the sentences can perform well except rraTool.run()
initial_time = motdata.data(1,1);
final_time =motdata.data(end,1);
% Setup the rraTool for this trial
rraTool.setName(nameik);
rraTool.setStartTime(initial_time);
rraTool.setFinalTime(final_time);
rraTool.setDesiredKinematicsFileName(fullpath);%ik.mot
rraTool.setExternalLoadsFileName(fullfile(externalloadspath));
rraTool.setResultsDir(rra_results_dir);
rraTool.setTaskSetFileName(TasksetFileName);
rraTool.run();