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