Why do I receive "The system cannot find path specified." error in Matlab 2018a while trying code generation of a protected simulink model?
10 次查看(过去 30 天)
显示 更早的评论
I have a simulink model which has protected reference model in it. When I try to genrate C++ code I get error below.
The system cannot find path specified
'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.
However the owner of protected model can genrate code in another computer. When I copy model to different computer it gives error. I am using Microsoft Visual Studio 2012. I have already unistalled and re-installed Visual Studio but it didn't work. I also tried a newer version of Visual Studio(2015) but it did not solve the problem either.
Please help me to resolve this issue.
0 个评论
回答(1 个)
Yongjian Feng
2021-8-2
Did you try to run it from a Developer Command Prompt window? It seems like it has trouble to find nmake.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!