Skip to content

Instantly share code, notes, and snippets.

@bsamadi
Created October 12, 2017 22:18
Show Gist options
  • Save bsamadi/01af512085025e0c9ab8664c24e076ea to your computer and use it in GitHub Desktop.
Save bsamadi/01af512085025e0c9ab8664c24e076ea to your computer and use it in GitHub Desktop.
cl /c /Zp8 /GR /W3 /EHs /nologo /MD /O2 /Oy- /DNDEBUG /DMX_COMPAT_32 /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE -I"C:\Program Files (x86)\MATLAB\R2015b\extern\include" -I"C:\Program Files (x86)\MATLAB\R2015b\simulink\include" C:\Users\bsamadi\source\repos\csfunc\src\csfunc.c /FoC:\Users\bsamadi\source\repos\csfunc\src\csfunc.obj
link /nologo /manifest /DLL /EXPORT:mexFunction C:\Users\bsamadi\source\repos\csfunc\src\csfunc.obj /LIBPATH:"C:\Program Files (x86)\MATLAB\R2015b\extern\lib\win32\microsoft" libmx.lib libmex.lib libmat.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /out:csfunc.mexw32
mt -outputresource:csfunc.mexw32;2 -manifest csfunc.mexw32.manifest
REM del csfunc.exp csfunc.lib csfunc.mexw32.manifest csfunc.ilk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment