'Make Error' when starting Simulink simulation
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
michaelborg
am 22 Jun. 2012
Beantwortet: YAN WEI
am 5 Dez. 2016
I am getting a Make Error with the following message: Making simulation target "DP_ForceRAOnew_sfun", ...
C:\Users\Michael\Dropbox\Codes\MSS\hydro\simulink\slprj\_sfprj\DP_ForceRAOnew\_self\sfun\src>call "\vsvars32.bat" '"\vsvars32.bat"' is not recognized as an internal or external command, operable program or batch file.
C:\Users\Michael\Dropbox\Codes\MSS\hydro\simulink\slprj\_sfprj\DP_ForceRAOnew\_self\sfun\src>nmake -f DP_ForceRAOnew_sfun.mak 'nmake' is not recognized as an internal or external command, operable program or batch file.
Within the simulink model I have a M function that performs a dos command to run a executable. Could this be the source of the error?
Regards
0 Kommentare
Akzeptierte Antwort
Kaustubha Govind
am 22 Jun. 2012
Have you already installed a supported compiler (see last column on this page for the list against each version), and run "mex -setup"? It just seems like Simulink cannot locate a supported MEX compiler, which is needed to compile code generated from Stateflow charts or (Embedded) MATLAB Function blocks.
6 Kommentare
Kaustubha Govind
am 15 Nov. 2012
Shameer: I'm not sure what might be going on. Could you perhaps report this to MathWorks Tech Support and find out if this is a known issue? Thanks!
Shameer Parmar
am 27 Nov. 2012
Ok.. Thanks Kaustubha for your reply.. I will check with Mathwork Support team..
Weitere Antworten (1)
YAN WEI
am 5 Dez. 2016
Hello, have you solved your problem? I have met the same problem with you, do you have some solutions? Thanks
0 Kommentare
Siehe auch
Kategorien
Mehr zu Event Functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!