Error in SolveMuscleRedundancy_lMtildeState_actdyn_CasADi

This project provides Matlab code, an OpenSim model, and necessary input data for solving the muscle redundancy problem in the leg during walking using the direct collocation optimal control software GPOPS-II.
POST REPLY
User avatar
dieter heinrich
Posts: 7
Joined: Sun Feb 14, 2010 6:08 pm

Error in SolveMuscleRedundancy_lMtildeState_actdyn_CasADi

Post by dieter heinrich » Thu Sep 26, 2019 1:07 am

Hi,

Solving the muscle redundancy problem with lMtilde as state I encountered an error at line 262. This can be easily fixed replacing

DatStore.Fiso with repmat(DatStore.Fiso,length(DatStore.time),1)

Dieter

POST REPLY