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{ : });

Answers (1)

Nirja Mehta
Nirja Mehta on 7 Feb 2017
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.

Tags

Asked:

on 5 Feb 2017

Answered:

on 7 Feb 2017

Community Treasure Hunt

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

Start Hunting!