Matlab crashes during RRATool

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
yali liu
Posts: 8
Joined: Fri May 06, 2016 7:01 am

Matlab crashes during RRATool

Post by yali liu » 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();
Attachments
error.jpg
error.jpg (122.33 KiB) Viewed 201 times
process.gif
process.gif (20.88 KiB) Viewed 201 times

Tags:

POST REPLY