Undefined function or variable 'import_physmod' in SimMechanics Link

When I try to import a xml file for simulation(SimMechanics Link),both "import_physmod" and "mech_import" command do not work,showing "Undefined function or variable 'import_physmod'" What is wrong with my matlab R2013b?

1 Kommentar

I have never heard of a import_physmod function.
  1. Are you getting the same error (undefined function) with mech_import? Can you post the full error anyway?
  2. How are you creating the xml file? Are you exporting as first generation or second generation? If you exported as second generation, you should use the smimport command instead. mech_import is only for first generation imports.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Steve Miller
Steve Miller am 8 Mär. 2018

0 Stimmen

You need to download install_addon.m and the zip file from the Simscape Multibody Link Page.
--Steve

Kategorien

Mehr zu Simscape Multibody finden Sie in Hilfe-Center und File Exchange

Gefragt:

L L
am 31 Aug. 2016

Beantwortet:

am 8 Mär. 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by