Main Content

Advisor.authoring.DataFile.validate

Validate XML data file used for model configuration check

Syntax

msg = Advisor.authoring.DataFile.validate(dataFile)

Description

msg = Advisor.authoring.DataFile.validate(dataFile) validates the syntax of the XML data file used for model configuration checks.

Input Arguments

dataFile

XML data file name (character vector)

Examples

dataFile = 'myDataFile.xml';
msg = Advisor.authoring.DataFile.validate(dataFile);

if isempty(msg)
   disp('Data file passed the XSD schema validation.');
else
   disp(msg);
end