Skip to main content

adjustMaxIsometricForce.m


% This function is part of the NMSM Pipeline, see file for full license.
%
% This function adjusts the max isometric force for the given muscle in
% the auxiliary data.
%
% (struct, Array of string, Number) -> ()
%


function inputs = adjustMaxIsometricForce(inputs, muscleName, value)
for i = 1:length(inputs.auxdata.muscleLabels)
if strcmp(muscleName, inputs.auxdata.muscleLabels{i})
inputs.auxdata.maxIsometricForce(i) = value;
end
end
end