impure functiontranslateModelXML

Translates a model into an XML representation of its equation system.

Information

Translates a model and writes its equation system to fileNamePrefix.xml, with dots in fileNamePrefix replaced by underscores.

Returns the name of the XML file, or an empty string on failure.

Inputs

TypeNameDefaultDescription
TypeNameclassNamethe class that should be translated
StringfileNamePrefix"<default>"fileNamePrefix. <default> = "className"

Outputs

TypeNameDefaultDescription
StringxmlFile