SAVE_MODEL

Utility/Data Access SubroutineSAVE_MODEL is used to save the current model from a user-written CONSUB.

Format

Fortran Calling Syntax
CALL SAVE_MODEL (xml_file_name, errflg)
C/C++ Calling Syntax
C_save_model (char* xml_file_name, int* errflg);
Python Calling Syntax
errflg = py_save_model (xml_file_name)
MATLAB Calling Syntax
errflg = m_save_model (xml_file_name)

Attributes

xml_file_name
[character array]
Specifies the name of the file in which the model is to be saved.

Output Values

errflg
[integer]
The result of calling SAVE_MODEL.
0 = Success

Comments

errflag returns a nonzero value if the call to SAVE_MODEL is not successful.