Why do I get the error 'The make command returned an error of 9009' when simulating a model in Accelerator mode?
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 14 de Jun. de 2018
Editada: MathWorks Support Team
el 25 de Abr. de 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.
Respuesta aceptada
MathWorks Support Team
el 25 de Abr. de 2024
Editada: MathWorks Support Team
el 25 de Abr. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre C Shared Library Integration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!