Why do I receive "The system cannot find path specified." error in Matlab 2018a while trying code generation of a protected simulink model?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Yongjian Feng
le 2 Août 2021
Did you try to run it from a Developer Command Prompt window? It seems like it has trouble to find nmake.
0 commentaires
Voir également
Catégories
En savoir plus sur Simulink Coder 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!