getScalingParameterValue.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% This function returns the scaling parameter value for a given body.
%
% (model, string) -> double
% returns the scale factor for the given body
function value = getScalingParameterValue(model, bodyName)
valueVec3 = model.getBodySet().get(bodyName).get_attached_geometry(0) ...
.get_scale_factors();
value = valueVec3.get(0);
end