Documentation

import_physmod

Generate model from Physical Modeling XML file

Syntax

import_physmod
import_physmod('filename.xml')
import_physmod('filename.xml', option1, value1, option2, value2, ...)

Description

Note

This command has been deprecated. Use its replacement, mech_import, instead.

Warning

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

import_physmod with no inputs opens the Import Physical Modeling XML dialog box. In the dialog box, you select the XML file to import and the function options.

import_physmod('filename.xml') generates a Simscape Multibody model from a Physical Modeling XML file called filename.xml. The .xml extension for the filename input is optional. For a computer-aided design (CAD)-generated XML file, the name of the generated model is the same as the original CAD assembly, regardless of the name of the XML file.

import_physmod('filename.xml', option1, value1, option2, value2, ...) generates the Simscape Multibody model filename from filename.xml using the specified option-value pairs when importing. The .xml extension for the filename input is optional.

See Also

Introduced before R2006a

Was this topic helpful?