Issues Running Simulink Program for Fault Detection with External Mode

3 views (last 30 days)
Hello everyone,
I'm experiencing difficulties running a program in Simulink. The goal of this program is to detect faults by reading current and voltage signal data through the ADC and a F28335 DSP from a CHB-5L inverter, using a pre-trained artificial neural network. "MATLAB Function" blocks are placed before and after the network to perform calculations for data normalization and to compute the error of these data for fault determination. Additionally, I'm to implement this in real time.
However, when I attempt to upload the program in "External Mode" to visualize the data in Simulink, I receive the following diagnostic message. Before implementing the neural network portion, it works perfectly, but after that, this message appears, and I am unsure what to do. I hope you can help me; I would greatly appreciate it.
=== Simulation (Elapsed: 8 sec) ===
### Starting build procedure for: Modulacion_RNA
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw
### Invoking Target Language Compiler on Modulacion_RNA.rtw
### Using System Target File: C:\Program Files\Polyspace\R2021a\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 Modulacion_RNA_types.h
### Writing source file Modulacion_RNA.c
### Writing header file Modulacion_RNA_private.h
### Writing header file Modulacion_RNA.h
.
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
### Writing source file Modulacion_RNA_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete.
### Generating TLC interface API.
...............................
### Creating data type transition file Modulacion_RNA_dt.h
.### Evaluating PostCodeGenCommand specified in the model
### Creating CCS Project at : C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw\CCS_Project
### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### 'C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw\Modulacion_RNA.mk' is up to date
### Building 'Modulacion_RNA': "C:\PROGRA~1\POLYSP~1\R2021a\bin\win64\gmake" -B DEPRULES=0 -j9 -f Modulacion_RNA.mk all
C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw>cd .
C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw>chcp 1252
Pßgina de c¾digos activa: 1252
C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw>if "" == "" ("C:\PROGRA~1\POLYSP~1\R2021a\bin\win64\gmake" -B DEPRULES=0 -j9 -f Modulacion_RNA.mk all ) else ("C:\PROGRA~1\POLYSP~1\R2021a\bin\win64\gmake" -B DEPRULES=0 -j9 -f Modulacion_RNA.mk )
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_csl.obj" "C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/MW_c28xx_csl.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_board.obj" "C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/MW_c28xx_board.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_adc.obj" "C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/MW_c28xx_adc.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_pwm.obj" "C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/MW_c28xx_pwm.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="Modulacion_RNA.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="Modulacion_RNA.obj" "C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/Modulacion_RNA.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="Modulacion_RNA_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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="Modulacion_RNA_data.obj" "C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/Modulacion_RNA_data.c"
"C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/Modulacion_RNA.c", line 52: error: floating constant is out of range
1 error detected in the compilation of "C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/Modulacion_RNA.c".
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="c2833xBoard_Realtime_Support.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="c2833xBoard_Realtime_Support.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/c2833xBoard_Realtime_Support.c"
>> Compilation failure
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="MW_c28xGlobalInterrupts.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xGlobalInterrupts.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/shared/supportpackages/tic2000/src/MW_c28xGlobalInterrupts.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="DSP2833x_MemCopy.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_MemCopy.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/DSP2833x_MemCopy.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="DSP2833x_CpuTimers.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_CpuTimers.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/DSP2833x_CpuTimers.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="DSP2833x_DefaultIsr.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_DefaultIsr.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/DSP2833x_DefaultIsr.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="DSP2833x_GlobalVariableDefs.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_GlobalVariableDefs.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/DSP2833x_GlobalVariableDefs.c"
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="DSP2833x_PieCtrl.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_PieCtrl.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/DSP2833x_PieCtrl.c"
gmake: *** [Modulacion_RNA.obj] Error 1
gmake: *** Waiting for unfinished jobs....
C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw>exit /B 1
### Build procedure for Modulacion_RNA aborted due to an error.
Top model targets built:
Model Action Rebuild Reason
==========================================================================
Modulacion_RNA Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 8.243s
Error:Error(s) encountered while building "Modulacion_RNA"

Accepted Answer

Animesh
Animesh on 21 Sep 2024
The key part of the error message is:
"C:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw/Modulacion_RNA.c", line 52: error: floating constant is out of range
This indicates that there is a floating-point constant in the generated C code that exceeds the range that can be represented by the target platform's floating-point format, which in this case is likely a "float" type given the context of the DSP (Digital Signal Processor) you're using.
Here are a few troubleshooting steps you could try:
  1. Check if your model or any part of the code generation is using double precision ("double") instead of single precision ("float"). The F28335 DSP is optimized for single precision, and using double precision values might cause range issues.
  2. Ensure that the inputs to your neural network are properly normalized. If the inputs are not normalized, it could cause the network to produce outputs that are too large or too small.
  3. Ensure that the weights and biases are within a reasonable range before deploying them to the DSP.
  1 Comment
Andrea
Andrea on 23 Sep 2024
Thanks for your answer!
I have checked, and I believe everything is now in "single" precision. After the ADC, I added blocks to condition the signals to approximately match the values coming from the inverter (gains, constants, sum blocks). However, now it generates this diagnostic, which is just the final part:
>> Compilation failure
"C:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="DSP2833x_MemCopy.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/R2021a/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" --define="EXTMODE_DISABLEPRINTF" -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 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=0 -DON_TARGET_WAIT_FOR_START=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=Modulacion_RNA -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/andii/Desktop/RNA -IC:/Users/andii/Desktop/RNA/Modulacion_RNA_ert_rtw -IC:/PROGRA~1/POLYSP~1/R2021a/extern/include -IC:/PROGRA~1/POLYSP~1/R2021a/simulink/include -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/POLYSP~1/R2021a/rtw/c/ert -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/coder/rtiostream/src/utils -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include/src -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/dsp/extern/src/export/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/dsp/vision/matlab/include -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021a/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/POLYSP~1/R2021a/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="DSP2833x_MemCopy.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021a/toolbox/target/supportpackages/tic2000/src/DSP2833x_MemCopy.c"
gmake: *** [Modulacion_RNA.obj] Error 1
gmake: *** Waiting for unfinished jobs....
C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\andii\Desktop\RNA\Modulacion_RNA_ert_rtw>exit /B 1
### Build procedure for Modulacion_RNA aborted due to an error.
All this happened after adding the 'Matlab Function' block with the calculations for data normalization, the neural network, and the anomaly detection diagnostics.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!