How to solve Error: Unrecognized switch: -. during ssc_build

13 visualizzazioni (ultimi 30 giorni)
Dear all,
I'm trying to build my previously made simscape files using ssc_build. However, I get the following error:
Error: Unrecognized switch: -.
I'm using a 64-bit Matlab 2013a installation with Microsoft Software Development Kit (SDK) 7.1 compiler that I set up succesfully using mex -setup.
The ssc files were created using a 32-bit installation, can this be the cause or is there another reason? Do I need administrator rights in a particular folder to make this work?
Thanks in advance, Sebastiaan

Risposta accettata

Sebastiaan Voorderhake
Sebastiaan Voorderhake il 28 Gen 2014
Dear all,
I found the solution to my problem. It was simply an error in the name of a folder in the path. It contained " - " which apparently is not allowed. Compiling in another folder (Documents\MATLAB) worked fine. I was even able to copy the compiled files back into the original folder and use them in my simulations.
Regards, Sebastiaan

Più risposte (0)

Categorie

Scopri di più su Troubleshooting in MATLAB Compiler SDK in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by