In the configuration file JointReaction.xml I have to set the forces_file tag to supplie the muscle forces,
which were priorly calculated ba a call of the AnalysisTool performing a StaticOptimization.
For a single call this works fine
![Razz :P](./images/smilies/icon_razz.gif)
Now I want to make a loop:
for i=1:3
prefix = sprintf('mu%1d',i);
SOfname = [prefix,'_StaticOptimization_force.sto']
AT = AnalyzeTool('JointReaction.xml')
AT.setName=prefix;
AT.setForcesFileName(SOfname);
AT.run()
end
but Matlab claims that setForcesFileName is not known to AT.
![Sad :(](./images/smilies/icon_e_sad.gif)
Probably JointReaction is a subobject/derived object of Analyze tool.
But how to pass the name of the muscle forces to this subobjece?