Open TuurvdHave opened 5 years ago
Hi Tuur, Thanks for the bug report. I changed the function to function getMuscleInfo.m a few weeks ago and this should be fine now. I created a pull request. Can you review the new version. I'll add you as a reviewer
I think this issue is addressed in PR #24.
If you only define one degree of freedom as input in the main file, the code will use time as input aswell. Chang size() to length() in getMuscleInfo.m line 122 will solve this.
ID_Header_inds=size(DOF_inds); ==> ID_Header_inds=length(DOF_inds);