Embedded MATLAB Function

i am using an embedded matlab function block
But when i run this code, i get the following error
Making simulation target "zae12_sfun", ... C:\Users\mojtaba\Desktop\cod for910321\slprj\_sfprj\zae\_self\sfun\src>call "mexopts.bat" 'nmake' is not recognized as an internal or external command, operable program or batch file.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 6월 11일

0 개 추천

It looks like Simulink can't find "nmake.exe" on the system PATH, which is the make utility that ships with Visual Studio. Have you already run "mex -setup" and ensured that MATLAB picks up Visual Studio from the path automatically? There might be some issue with your Visual Studio installation or system PATH.

카테고리

도움말 센터 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

제품

질문:

2012년 6월 10일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by