Skip to main content

saveSurrogateModel.m


% This function is part of the NMSM Pipeline, see file for full license.
%
% () -> ()
%


function saveSurrogateModel(inputs)

printSurrogateModel(inputs.numMuscles, ...
inputs.polynomialExpressionMuscleTendonLengths, ...
inputs.polynomialExpressionMuscleTendonVelocities, ...
inputs.polynomialExpressionMomentArms, ...
inputs.muscleSpecificJointAngles, inputs.resultsDirectory);
coefficients = inputs.coefficients;
save("coefficients.mat", "coefficients")
end