Errors when imports .xml file that exported from inventor

3 次查看(过去 30 天)
I am using tool simmechanics Version R2012b for win7 OS 64bit. I drew a 3D assembly drawing in Inventor 2012 SP1 and exported to second generation simmechanics, but when implimenting to export from inventor I received a warning as "no valid solid bodies to output to STL file". but the exporting process was still run.
But when using command "smimport()" the error occured in MATLAB command window: » smimport('BRACE.xml') Error using smimport_implementation (line 38) "BRACE.xml" could not be found.
Error in smimport (line 51) hModel = smimport_implementation(xmlFile, varargin{:})_;_
or when I run command "smimport('BRACE.xml')" in Matlab command window i received the warning:
>> smimport('BRACE.xml') Caught "std::exception" Exception message is: bad lexical cast: source type value could not be interpreted as target
so, what is the problem here?

回答(1 个)

BhaTTa
BhaTTa 2024-10-23
Please refer to this answer.

类别

Help CenterFile Exchange 中查找有关 Argument Definitions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by