adjustOptimalFiberLength.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% This function adjusts the optimal fiber length for the given muscle in
% the auxiliary data.
%
% (struct, Array of string, Number) -> ()
%
function inputs = adjustOptimalFiberLength(inputs, muscleName, value)
for i = 1:length(inputs.auxdata.muscleLabels)
if strcmp(muscleName, inputs.auxdata.muscleLabels{i})
inputs.auxdata.optimalFiberLength(i) = value;
end
end
end