Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

import_physmod

Generate model from Physical Modeling XML file

    Note:   import_physmod will be removed in a future release. Use mech_import instead.

Syntax

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

Description

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?