Error Help
Posted: Fri Aug 12, 2016 6:52 am
Hello,
I am setting up a sensitivity analysis and most of the parameters work. Currently I keep getting the error of
No appropriate method, property, or field getMaximumShorteningVelocity for class
org.opensim.modeling.Muscle.
Error in MainAPIScript7 (line 103)
origMaxShortVelocity = origCMCModel.getMuscles().get(n1-1).getMaximumShorteningVelocity();
Can anyone help me with why this is? Here is the part of the code that gets the error.
origMaxShortVelocity = origCMCModel.getMuscles().get(n1-1).getMaximumShorteningVelocity();
newMaxShortVelocity = MSVAdj.*origMaxShortVelocity;
newCMCModel.getMuscles().get(n1-1).setMaximumShorteningVelocity(newMaxShortVelocity);
I am setting up a sensitivity analysis and most of the parameters work. Currently I keep getting the error of
No appropriate method, property, or field getMaximumShorteningVelocity for class
org.opensim.modeling.Muscle.
Error in MainAPIScript7 (line 103)
origMaxShortVelocity = origCMCModel.getMuscles().get(n1-1).getMaximumShorteningVelocity();
Can anyone help me with why this is? Here is the part of the code that gets the error.
origMaxShortVelocity = origCMCModel.getMuscles().get(n1-1).getMaximumShorteningVelocity();
newMaxShortVelocity = MSVAdj.*origMaxShortVelocity;
newCMCModel.getMuscles().get(n1-1).setMaximumShorteningVelocity(newMaxShortVelocity);