Why do I get the error 'The make command returned an error of 9009' when simulating a model in Accelerator mode?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 14 Juin 2018
Modifié(e) : MathWorks Support Team
le 25 Avr 2024
I have a Simulink model in R2013b which I can successfully simulate in Normal mode. However, when I switch to Accelerator mode, I get the following error:
'nmake' is not recognized as an internal or external command,
operable program or batch file.
The make command returned an error of 9009
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.
I am using Microsoft Windows SDK 7.1 as a compiler.
I have already:
1. Uninstalled ‘Microsoft Visual C++ 2010’ and ‘Microsoft Windows SDK 7.1’, and re-installed them in the following order: Microsoft Visual Studio C++ 2010 first, then Microsoft Windows SDK 7.1, as specified here:
2. Followed these instructions when installing Windows SDK 7.1:
3. Set SDK 7.1 as the compiler, with:
>> mex -setup
However, the issue does not seem to be solved.
Réponse acceptée
MathWorks Support Team
le 25 Avr 2024
Modifié(e) : MathWorks Support Team
le 25 Avr 2024
In this case, the issue is likely related to some path corruption.
Try and execute:
>> installedCompilers = mex.getCompilerConfigurations('C','Installed');
>> installedCompilers.Location
If some of the locations are corrupted, as for example:
ans =
''\bin' is not recognized as an internal or external command, operable program or batch file'
then the "Location" field is not pointing where it should, that is the folder which contains the compiler.
You might need to modify the "Path" environment variable in Windows to address this issue.
The link below shows how to access and edit that:
For further information, refer to the following link:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur C Shared Library Integration dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!