Error while using smimport

I'm trying to import a file from solidworks for simscape and I'm constantly getting the following error whenever I use command smimport: Error in smimport (line 132) [hModel, sDataFile] = smimport_implementation(xmlFile, varargin{ : });

回答(1 个)

Nirja Mehta
Nirja Mehta 2017-2-7

1 个投票

Do you have any apostrophes in your current working directory?
If yes, change the MATLAB Current Folder to a new directory that does not contain an apostrophe. It is best practice to avoid using spaces or any special characters in folder names used by MATLAB and Simulink.

类别

在 帮助中心 和 File Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by