Why do I get the error 'The make command returned an error of 9009' when simulating a model in Accelerator mode?
조회 수: 15 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2018년 6월 14일
편집: MathWorks Support Team
2024년 4월 25일
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.
채택된 답변
MathWorks Support Team
2024년 4월 25일
편집: MathWorks Support Team
2024년 4월 25일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!