"Make Error" Simulink Matlab R2013a (NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bi​n\amd64\cl​.exe"' : return code '0x2')

66 views (last 30 days)
Al
Al on 15 Dec 2015
Answered: Shruti Sapre on 17 Dec 2015
I am running a simulation in Simulink(Matlab R2013a) and get the following error
This is the compiler I'm using:
Can anyone help me?
  2 Comments
Al
Al on 15 Dec 2015
Making simulation target "drx_3_03_sfun", ...
C:\Users\stage_acelentano\Documents\DETECTOR_DRAWS_SIMULINK\DETECTOR_Simulink_v01\slprj\_sfprj\drx_3_03\_self\sfun\src>call "mexopts.bat"
Microsoft (R) Program Maintenance Utility Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved.
### Compiling "drx_3_03_sfun.c" cl.exe /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /nologo /MD /I "C:\Program Files\MATLAB\R2013a\extern\include" /I "C:\Program Files\MATLAB\R2013a\simulink\include" /I "C:\Program Files\MATLAB\R2013a\stateflow\c\mex\include" /I "C:\Program Files\MATLAB\R2013a\stateflow\c\debugger\include" "drx_3_03_sfun.c" drx_3_03_sfun.c c:\users\stage_acelentano\documents\detector_draws_simulink\detector_simulink_v01\slprj\_sfprj\drx_3_03\_self\sfun\src\drx_3_03_sfun.h(6) : fatal error C1083: Cannot open include file: 'sfc_sf.h': No such file or directory NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe"' : return code '0x2' Stop.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by