Skip to main content

buildGcpOsimxTemplate.m


% This function is part of the NMSM Pipeline, see file for full license.
%
% This function produces a template with basic GCP result information.
% The function addGcpContactSurface() should be used after to add contact
% surfaces and springs
%
% (string, string, number, number, number) -> (struct)
% Prints a generic template for an osimx file


function osimx = buildGcpOsimxTemplate(modelName, osimModelFileName)

osimx = buildOsimxTemplate(modelName, osimModelFileName);

osimx.NMSMPipelineDocument.OsimxModel.RCNLContactSurfaceSet.Comment = ...
'Optimized contact surface parameters';
osimx.NMSMPipelineDocument.OsimxModel.RCNLContactSurfaceSet = '';

end