Documentation Center

  • Trials
  • Product Updates

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 SimMechanics™ 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 SimMechanics model filename from filename.xml using the specified option-value pairs when importing. The .xml extension for the filename input is optional.

See Also

Was this topic helpful?