Error while using smimport

1 view (last 30 days)
Prachi Sortur
Prachi Sortur on 5 Feb 2017
Answered: Nirja Mehta on 7 Feb 2017
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.

Categories

Find more on Raspberry Pi Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!