Effacer les filtres
Effacer les filtres

How can I eliminate following error?

2 vues (au cours des 30 derniers jours)
arul
arul le 9 Déc 2014
Modifié(e) : Orion le 9 Déc 2014
When I was trying to create s-function from simulink block ......I am always getting error like this...
An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed. Please install one of the supported compilers for this release as listed at: http://www.mathworks.com/support/compilers/R2013a/win64.html........
Please help me.....

Réponses (1)

Orion
Orion le 9 Déc 2014
Modifié(e) : Orion le 9 Déc 2014
It seems you're using a 64 bits machine.
You need to check if a complier is installed, thit is not provide with Matlab 64 (although, it is for Matlab 32).
run this command
mex -setup
If there is a compiler available on your machine, pick it, otherwise you need to download a compiler like the SDK.
There is a bug with the basic release, so follow this to install properly the microsoft SDK.

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by