mech_import errors when attempting to import .xml file from Inventor 2012

4 ビュー (過去 30 日間)
Jeffry
Jeffry 2012 年 9 月 9 日
コメント済み: Malesela Moutlana 2021 年 4 月 2 日
I have exported a simple part from Inventor to an .xml file using Manage->Parameters->Export to XML
When I try to use mech_import I get the following errors and cannot find any information about them.
EDU>> mech_import('BasePlateR1-params.xml')
"XML Read error" while attempting to read file "BasePlateR1-params.xml".
Error in C:\Program Files (x86)\MATLAB\R2012a
Student\toolbox\physmod\mech\importer\+PMImport\@ModelReader\ModelReader.p>ModelReader.ModelReader (line 33)
Error in C:\Program Files (x86)\MATLAB\R2012a
Student\toolbox\physmod\mech\importer\+PMImport\@ModelUpdater\ModelUpdater.p>ModelUpdater.ModelUpdater (line 16)
Error in C:\Program Files (x86)\MATLAB\R2012a Student\toolbox\physmod\mech\importer\+PMImport\pmiu_import.p>pmiu_import (line
73)
Error in mech_import (line 97)
PMImport.pmiu_import(varargin{:});
  2 件のコメント
Roja e
Roja e 2017 年 6 月 27 日
Could you solve this problem? this is exactly my problem...
Malesela Moutlana
Malesela Moutlana 2021 年 4 月 2 日
open the xml files as a text document ........ in the text document replace all , (commas) with . (points)
0,3333 ---> 0.3333

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

回答 (1 件)

Sergio Pertuz Mendez
Sergio Pertuz Mendez 2016 年 10 月 17 日
Did you manage to solve this problem???

カテゴリ

Help Center および File ExchangeSimscape Multibody についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by