I am trying to generate a .dll file from a simulink model to integrate with Vector CANoe.
I have chosen 'cn.tlc' in the code generation panel. I have set my environment variables to point to the mingw64 binaries.
I have used 'getenv' to check if matlab points to the same folder. But when I try to build the model, I get the following error:
C:\Users\prade\Desktop\Work\Attempts\CON_veh\Simulator\MCU_cn_rtw>call "set MINGW_ROOT_PATH=C:\MinGW\mingw64" x86 The filename, directory name, or volume label syntax is incorrect.
C:\Users\prade\Desktop\Work\Attempts\CON_veh\Simulator\MCU_cn_rtw>nmake -f MCU.mk MAT_FILE=1 GENERATE_MODEL_DESCRIPTION=1 DEBUG_BUILD=0 COMBINE_OUTPUT_UPDATE_FCNS=0 INCLUDE_MDL_TERMINATE_FCN=1 MULTI_INSTANCE_CODE=0 ISPROTECTINGMODEL=NOTPROTECTING TARGET_ARCH="x86" XCP_MAX_MSG_LENGTH=-1 ANALYSIS_MODEL=0 HAS_CAPL_CALL=0 'nmake' is not recognized as an internal or external command, operable program or batch file.
I am on a Windows 10 64 bit OS.
3 Comments
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/430817-converting-simulink-file-slx-to-dll-for-integrating-with-canoe#comment_683013
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/430817-converting-simulink-file-slx-to-dll-for-integrating-with-canoe#comment_683013
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/430817-converting-simulink-file-slx-to-dll-for-integrating-with-canoe#comment_683052
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/430817-converting-simulink-file-slx-to-dll-for-integrating-with-canoe#comment_683052
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/430817-converting-simulink-file-slx-to-dll-for-integrating-with-canoe#comment_741721
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/430817-converting-simulink-file-slx-to-dll-for-integrating-with-canoe#comment_741721
Sign in to comment.