% This function is part of the NMSM Pipeline, see file for full license.
%
% This function takes the necessary inputs and produces the results of IK,
% ID, and MuscleAnalysis so the values can be used as inputs for
% MuscleTendonPersonalization.
%
% (struct, struct) -> (None)
% Prepares raw data for MuscleTendonPersonalization
function cost = computeNeuralControlCostFunction(values, inputs, params)
activations = calcActivationsFromSynergyDesignVariables(values, inputs, params);
cost = calcNcpCost(activations, inputs, params, values);
end