Unable to open CAD files in simulink using smimport and mech_import
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
I'm using MATLAB 2017a, sponsored license.I was trying to open a model using smimport() command but it gave following errors: "Error using smimport_implementation Invalid file identifier. Use fopen to generate a valid file identifier.
Error in smimport (line 154) smimport_implementation(multibodyDescriptionFile, varargin{:});" . I also tried the same using mech_import() but got the same error. Please help me out this problem. Are there are any other options for importing CAD files to Simulink.
댓글 수: 8
Nicolas Schmit
2017년 10월 2일
Could you provide the .m file that produces this error?
Omkar Bhanap
2017년 10월 24일
Nicolas Schmit
2017년 10월 24일
You can upload a zip file with the xml file inside.
It seems you get an error when MATLAB closes the file, but I cannot tell you why without the file.
Omkar Bhanap
2017년 10월 24일
Nicolas Schmit
2017년 10월 27일
The command
mech_import('Assem2.xml')
worked fine on my computer.
Omkar Bhanap
2017년 11월 5일
Nicolas Schmit
2017년 11월 9일
Can you tell me which operating you are using, and if you have non ASCII characters in the path to the xml file?
Omkar Bhanap
2017년 12월 4일
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!