Page 1 of 1

prescribe motion in model

Posted: Sat Nov 22, 2014 9:11 am
by ashmheers
Hello, all,

I am using matlab to add prescribed motion to my model (prescribeMotionInModel.m). I got the function to work once, but now I am trying to prescribe motion for a different set of kinematics (different mot file) and matlab is giving results for my original mot file. When I look at the out log, I see "old version storage/motion file encountered", but I cannot figure out how to delete that older file. I've tried clearing the workspace, restarting and rehashing, but no luck. Has anyone encountered this problem and fixed it? I don't use matlab very often, so it may be something pretty obvious...

Thanks!

Re: prescribe motion in model

Posted: Mon Dec 01, 2014 4:07 pm
by jimmy
Hi Ashley,

This sounds like the file paths entering the function haven't been updated to point at the new motion file and you are using the original mot file each time.

Are you still having this issue?
-james

Re: prescribe motion in model

Posted: Tue Dec 02, 2014 6:12 am
by ashmheers
Yes, I am still having the problem. Not sure how to update the file path, especially since the original file no longer exists... Any suggestions? Thanks!