simmechanic import xml to second generation

我用SolidWorks关联了matlab,并已生成xml文件。但是在matlab下面导入这个机械结构的文件时,总是默认生成first generation的结构图。我想生成second generation的图。应该怎么做?我用的命令是mech_import 或 import_physmod命令。另外我的matlab版本是2012a。。。非常期望得到帮助解答

Answers (1)

您需要使用命令 smimport() 导入到第二代。从 SolidWorks 导出时必须选择第二代技术。
You need to use the command smimport() to import into second generation. It is necessary select Second Generation Technology when you export from SolidWorks.
--Steve
(please forgive any translation errors).

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Asked:

on 16 Jun 2015

Answered:

on 24 Nov 2021

Community Treasure Hunt

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

Start Hunting!