Simulink Build model error

15 ビュー (過去 30 日間)
Saurabh Prakash
Saurabh Prakash 2022 年 2 月 18 日
コメント済み: Saurabh Prakash 2022 年 2 月 23 日
Below is the error I am getting while building model in simulink. Earlier it was building the same model but now it is showing this error. Help
## Starting build procedure for: BACK_EMF_HARDWARE_COMPLETE
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: C:\Users\91993\OneDrive\Project\BACK_EMF_HARDWARE_COMPLETE_ert_rtw
The model BACK_EMF_HARDWARE_COMPLETE is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
Component:Simulink | Category:Model
### Invoking Target Language Compiler on BACK_EMF_HARDWARE_COMPLETE.rtw
### Using System Target File: C:\Program Files\MATLAB\R2020b\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 BACK_EMF_HARDWARE_COMPLETE_types.h
### Writing header file BACK_EMF_HARDWARE_COMPLETE.h
### Writing source file BACK_EMF_HARDWARE_COMPLETE.c
.
### Writing header file rtwtypes.h
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
.
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
### Writing header file BACK_EMF_HARDWARE_COMPLETE_private.h
### Writing source file BACK_EMF_HARDWARE_COMPLETE_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.756 sec
### Creating CCS Project at : C:\Users\91993\OneDrive\Project\BACK_EMF_HARDWARE_COMPLETE_ert_rtw\CCS_Project
### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### 'C:\Users\91993\OneDrive\Project\BACK_EMF_HARDWARE_COMPLETE_ert_rtw\BACK_EMF_HARDWARE_COMPLETE.mk' is up to date
### Building 'BACK_EMF_HARDWARE_COMPLETE': "C:\PROGRA~1\MATLAB\R2020b\bin\win64\gmake" DEPRULES=1 -j9 -f BACK_EMF_HARDWARE_COMPLETE.mk all
C:\Users\91993\OneDrive\Project\BACK_EMF_HARDWARE_COMPLETE_ert_rtw>cd .
C:\Users\91993\OneDrive\Project\BACK_EMF_HARDWARE_COMPLETE_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2020b\bin\win64\gmake" DEPRULES=1 -j9 -f BACK_EMF_HARDWARE_COMPLETE.mk all ) else ("C:\PROGRA~1\MATLAB\R2020b\bin\win64\gmake" DEPRULES=1 -j9 -f BACK_EMF_HARDWARE_COMPLETE.mk )
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="MW_c28xx_board.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_board.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/MW_c28xx_board.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="BACK_EMF_HARDWARE_COMPLETE.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="BACK_EMF_HARDWARE_COMPLETE.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/BACK_EMF_HARDWARE_COMPLETE.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="BACK_EMF_HARDWARE_COMPLETE_data.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="BACK_EMF_HARDWARE_COMPLETE_data.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/BACK_EMF_HARDWARE_COMPLETE_data.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="MW_c28xx_adc.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_adc.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/MW_c28xx_adc.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="MW_c28xx_can.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_can.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/MW_c28xx_can.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="MW_c28xx_csl.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_csl.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/MW_c28xx_csl.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="MW_c28xx_pwm.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_pwm.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/MW_c28xx_pwm.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="can_datatype_ground.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="can_datatype_ground.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/can_datatype_ground.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="rtGetInf.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="rtGetInf.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/rtGetInf.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="rtGetNaN.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="rtGetNaN.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/rtGetNaN.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/bin/cl2000" --compile_only --preproc_dependency="rt_nonfinite.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/3P778C~1.INS/tic2000codegentools.instrset/ti-cgt-c2000_18.12.2.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DMW_PIL_SCIFIFOLEN=16 -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=BACK_EMF_HARDWARE_COMPLETE -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/91993/OneDrive/Project -IC:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw -IC:/PROGRA~1/MATLAB/R2020b/extern/include -IC:/PROGRA~1/MATLAB/R2020b/simulink/include -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2020b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2020b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/supportpackages/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/target/shared/externalmode_daemon/include -IC:/PROGRA~1/MATLAB/R2020b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="rt_nonfinite.obj" "C:/Users/91993/OneDrive/Project/BACK_EMF_HARDWARE_COMPLETE_ert_rtw/rt_nonfinite.c"
gmake: *** No rule to make target `C:/PROGRA~3/MATLAB/SUPPOR~1/R2020b/toolbox/shared/SUPPOR~1/tic2000/src/c2000BoardSupport.h', needed by `c2833xBoard_Realtime_Support.obj'. Stop.
gmake: *** Waiting for unfinished jobs....
C:\Users\91993\OneDrive\Project\BACK_EMF_HARDWARE_COMPLETE_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\91993\OneDrive\Project\BACK_EMF_HARDWARE_COMPLETE_ert_rtw>exit 1
### Build procedure for BACK_EMF_HARDWARE_COMPLETE aborted due to an error.

採用された回答

Esha Chakraborty
Esha Chakraborty 2022 年 2 月 21 日
Hi Saurabh,
I understand that you are encountering "the make command returned an error of 2" when trying to build models with Simulink Coder. This can possibly occur if Mex -setup detects a different version of compiler than that of the Simulink Coder that you are using to build the model. To avoid this, ensure that you have the correct version of MinGW installed for the version of MATAB that you are using.
You are also encountering "No rule to make target" error which can have two common causes-
  1. Your project path, source file path and/or include folder path contains white spaces that "make" cannot handle. It is recommended to avoid paths with white spaces in any software project.
  2. It could also mean that the indicated file is missing. Verify the existence of this file using File Explorer.
You can refer to this answer below for details-
  1 件のコメント
Saurabh Prakash
Saurabh Prakash 2022 年 2 月 23 日
Thanks alot, it really helped.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by