Main Content

pmit_write_xml

Write output of object of PmitCad2SMH class

Syntax

PmitError = mit_write_xml(char** const pconstrainErrorOut, PmitCad2SMH pmitCad2SMH, const char* filename)

Description

Warning

This content is specific to Simscape™ Multibody™ First Generation software. First-generation features are slated to be deprecated and should be avoided.

PmitError = mit_write_xml(char** const pconstrainErrorOut, PmitCad2SMH pmitCad2SMH, const char* filename) returns an error status PmitError.

With pmit_write_xml, you can write the output of an object of PmitCad2SMH class to an XML multibody description file.

Input Arguments

pmitCad2SMH

Handle object of PmitCad2SMH class representing an API-to-XML translator object

filename

String specifying the name of the XML file to which the API representation is written

Output Arguments

pconstrainErrorOut

String indicating constraint errors, if any, encountered while writing the XML file

Version History

Introduced in R2009b