i keep run into this error, can some one help me out?

1 view (last 30 days)
### Generating code into build folder: E:\test\test_led_ert_rtw ### Invoking Target Language Compiler on test_led.rtw ### Using System Target File: E:\phan mem hoc tap\MATLAB\rtw\c\ert\ert.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code . ### Caching model source code ### Writing header file test_led_types.h ### Writing header file test_led.h ### Writing header file rtwtypes.h ### Writing source file test_led.c . ### Writing header file test_led_private.h ### Writing source file test_led_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete. ### Evaluating PostCodeGenCommand specified in the model
Code Composer Studio Project
1
Elapsed: 0.480 sec
### Creating CCS Project at : E:\test\test_led_ert_rtw\CCS_Project ### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments C2000 Code Generation Tools v16.9.2 | gmake (64-bit Windows) ### 'E:\test\test_led_ert_rtw\test_led.mk' is up to date ### Building 'test_led': "E:\phan mem hoc tap\MATLAB\bin\win64\gmake" MATLAB_ROOT=%MATLAB_ROOT% ALT_MATLAB_ROOT=%ALT_MATLAB_ROOT% MATLAB_BIN=%MATLAB_BIN% ALT_MATLAB_BIN=%ALT_MATLAB_BIN% -B -f test_led.mk all E:\test\test_led_ert_rtw>call "\\Admin\E$\phan mem hoc tap\MATLAB\bin\win64\checkMATLABRootForDriveMap.exe" "\\Admin\E$\phan mem hoc tap\MATLAB" 1>mlEnv.txt E:\test\test_led_ert_rtw>for /F %a in (mlEnv.txt) do set "%a"\n E:\test\test_led_ert_rtw>set "MATLAB_ROOT=F:"\n E:\test\test_led_ert_rtw>set "ALT_MATLAB_ROOT=F:"\n E:\test\test_led_ert_rtw>set "MATLAB_BIN=F:\bin"\n E:\test\test_led_ert_rtw>set "ALT_MATLAB_BIN=F:\bin"\n E:\test\test_led_ert_rtw>cd . E:\test\test_led_ert_rtw>if "" == "" ("E:\phan mem hoc tap\MATLAB\bin\win64\gmake" MATLAB_ROOT=F: ALT_MATLAB_ROOT=F: MATLAB_BIN=F:\bin ALT_MATLAB_BIN=F:\bin -B -f test_led.mk all ) else ("E:\phan mem hoc tap\MATLAB\bin\win64\gmake" MATLAB_ROOT=F: ALT_MATLAB_ROOT=F: MATLAB_BIN=F:\bin ALT_MATLAB_BIN=F:\bin -B -f test_led.mk ) C:/PROGRA~3/MATLAB/SupportPackages/R2017b_1/3P.instrset/tic2000codegentools.instrset/ti-cgt-c2000_16.9.2.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SupportPackages/R2017b_1/3P.instrset/tic2000codegentools.instrset/ti-cgt-c2000_16.9.2.LTS/include" -v28 --float_support=fpu32 -ml -DCPU1 -DMODEL=test_led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DSTACK_SIZE=512 -DRT -DMODEL=test_led -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -IE:/test -IF:/simulink/include/sf_runtime -IE:/test/test_led_ert_rtw -IF:/extern/include -IF:/simulink/include -IF:/rtw/c/src -IF:/rtw/c/src/ext_mode/common -IF:/rtw/c/ert -IC:/ProgramData/MATLAB/SupportPackages/R2017b_1/toolbox/target/supportpackages/tic2000/inc -IF:/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2017b_1/toolbox/target/supportpackages/tic2000/src -IE:/phan mem hoc tap/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common/include -IE:/phan mem hoc tap/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_headers/include -IE:/phan mem hoc tap/ti/controlSUITE/device_support/F2837xD/v190/F2837xD_common -IF:/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2017b_1/toolbox/target/shared/externalmode_daemon/include --output_file=MW_c28xx_board.obj MW_c28xx_board.c [mem.] >> WARNING: more than one source file is specified; option --output_file is ignored Fatal error: cannot open source file "mem" 1 catastrophic error detected in the compilation of "mem". Compilation terminated. >> Compilation failure gmake: *** [MW_c28xx_board.obj] Error 1 E:\test\test_led_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 E:\test\test_led_ert_rtw>An_error_occurred_during_the_call_to_make 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file. ### Creating HTML report file test_led_codegen_rpt.html
### Build procedure for model: 'test_led' aborted due to an error.
Error(s) encountered while building "test_led": ### Failed to generate all binary outputs.

Accepted Answer

Walter Roberson
Walter Roberson on 22 Jun 2020
E:\phan mem hoc tap\MATLAB\rtw\c\ert\ert.tlc
Rename your E:\phan mem hoc tap directory so that it has no spaces or special characters in the name.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!