% This function is part of the NMSM Pipeline, see file for full license.
%
% This function produces the most general outermost struct portions of an
% osimx file. An osimx file can be written to file with writeOsimxFile()
%
% (string, string) -> (struct)
% Prints a generic template for an osimx file
function osimx = buildOsimxTemplate(modelName, osimModelFileName)
osimx.NMSMPipelineDocument.Attributes.Version = '0_dot_1_dot_0';
osimx.NMSMPipelineDocument.OsimxModel.Attributes.name = convertStringsToChars(modelName);
osimx.NMSMPipelineDocument.OsimxModel.associated_osim_model.Comment = ...
'File name of associated .osim file';
osimx.NMSMPipelineDocument.OsimxModel.associated_osim_model.Text = ...
convertStringsToChars(osimModelFileName);
end