% This function is part of the NMSM Pipeline, see file for full license.
%
% This function sets up the input variables and mex files (or parallel
% matlab function) for the main function of tracking optimization.
%
% (struct, struct) -> (struct, struct)
% Inputs for the main function are setup
function [output, inputs] = TrackingOptimization(inputs, params)
inputs = makeTreatmentOptimizationInputs(inputs, params);
initializeMexOrMatlabParallelFunctions(inputs.mexModel);
output = computeTrackingOptimizationMainFunction(inputs, params);
end