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 件のコメント

Swarooph
Swarooph 2016 年 8 月 31 日
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.

サインインしてコメントする。

回答 (1 件)

Steve Miller
Steve Miller 2018 年 3 月 8 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeSimscape Multibody についてさらに検索

質問済み:

L L
2016 年 8 月 31 日

回答済み:

2018 年 3 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by