フィルターのクリア

Error while importing CAD file (inventor) to simmechanics.

1 回表示 (過去 30 日間)
HJ Jay
HJ Jay 2015 年 2 月 11 日
回答済み: Steve Miller 2022 年 11 月 20 日
I have followed the instructions on http://in.mathworks.com/help/physmod/smlink/ref/register-simmechanics-link-with-solidworks.html to set up the add-in link between my inventor and simmechanics.
I also successfully created the .xml and .STL files for my CAD model.
But on trying to import the xml file to simmechanics using,
smimport('scooter_ful_me.xml')
matlab shows the following error,
Error using smimport_implementation (line 38)
Invalid MATLAB identifier: Drilled_Forged_Hexagon_Socket_Head_Cap_Screw_2_Holes_Metric_M6x1.
Error in smimport (line 51)
hModel = smimport_implementation(xmlFile, varargin{:});
Kindly let me know what went wrong.

回答 (1 件)

Steve Miller
Steve Miller 2022 年 11 月 20 日
It appears the extension for the file is missing.
Go into your XML file and add the file extension manually for file "Drilled_Forged...".
If this does not solve the problem, post the files here and we can take a look.
--Steve

カテゴリ

Help Center および File ExchangeModel Import についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by