Hi I am triying to run a Processor in the Loop simulation using a LaunchPad XL C2000 TMS320F28069M, however when I tried to deploy my model to hardware i got the next error:

7 Ansichten (letzte 30 Tage)
PD: I can run the examples for the C2000 processor, but i cannot deploy a NLARX model thay estimated using the System Identification Toolbox
=== Subsystem Build (Elapsed: 49 sec) ===
The model pil 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.
### Starting build procedure for: model
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: C:\test\model_ert_rtw
The model model 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.
### Invoking Target Language Compiler on model.rtw
### Using System Target File: C:\Program Files\MATLAB\R2024a\rtw\c\ert\ert.tlc
### Loading TLC function libraries
........
### Generating TLC interface API for custom data
### Initial pass through model to cache user defined code
....
### Caching model source code
...............................................................................
..........
### Writing header file model_types.h
.
### Writing header file model.h
### Writing header file rtwtypes.h
### Writing source file model.c
### Writing header file model_private.h
### Writing header file rt_nonfinite.h
.
### Writing source file rt_nonfinite.c
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
### Writing source file rtGetNaN.c
.
### Writing source file model_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete (took 8.418s).
### Saving binary information cache.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### Creating 'C:\test\model_ert_rtw\instrumented\model.mk' ...
### Building 'model': "C:\PROGRA~1\MATLAB\R2024a\bin\win64\gmake" DEPRULES=1 -j7 -f model.mk buildobj
..
C:\test\model_ert_rtw\instrumented>cd .
C:\test\model_ert_rtw\instrumented>chcp 1252
Pßgina de c¾digos activa: 1252
C:\test\model_ert_rtw\instrumented>if "buildobj" == "" ("C:\PROGRA~1\MATLAB\R2024a\bin\win64\gmake" DEPRULES=1 -j7 -f model.mk all ) else ("C:\PROGRA~1\MATLAB\R2024a\bin\win64\gmake" DEPRULES=1 -j7 -f model.mk buildobj )
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="rt_matrx.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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="rt_matrx.obj" "C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/rt_matrx.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="rt_printf.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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="rt_printf.obj" "C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/rt_printf.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="MW_c28xx_csl.obj" "C:/test/model_ert_rtw/MW_c28xx_csl.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="MW_c28xx_board.obj" "C:/test/model_ert_rtw/MW_c28xx_board.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="model.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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="model.obj" "C:/test/model_ert_rtw/model.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="model_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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="model_data.obj" "C:/test/model_ert_rtw/model_data.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="rtGetInf.obj" "C:/test/model_ert_rtw/rtGetInf.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="rtGetNaN.obj" "C:/test/model_ert_rtw/rtGetNaN.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="rt_nonfinite.obj" "C:/test/model_ert_rtw/rt_nonfinite.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="sfunsigmoidnet.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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="sfunsigmoidnet.obj" "C:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src/sfunsigmoidnet.c"
"C:/PROGRA~3/MATLAB/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="eval_sigmoidnet.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/tic2000/3P778C~1.INS/TIC28X~1.INS/TI-CGT~1.LTS/include" -v28 -ml --float_support=fpu32 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_EXEC_PROFILER_ON -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DRT -DUSE_RTMODEL -DERT -DTID01EQ=0 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=4 -DMW_F2806X -DSTACK_SIZE=1024 -DF28069M -DCPU1 -DBOOT_FROM_FLASH=1 -DMW_FAST_RTS_INCLUDED=0 -DMW_HCCAL_INCLUDED=0 -DMODEL=model -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/test -IC:/test/model_ert_rtw -IC:/PROGRA~1/MATLAB/R2024a/extern/include -IC:/PROGRA~1/MATLAB/R2024a/simulink/include -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2024a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/src -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/inc -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000/inc -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~1/include -IC:/ti/CONTRO~1/DEVICE~1/f2806x/v151/F2806X~4/include -IC:/ti/CONTRO~1/libs/math/CLAmath/v400/include -IC:/ti/CONTRO~1/libs/math/IQmath/v160/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/shared/can/src/scanutil -IC:/ti/CONTRO~1/libs/UTILIT~1/HRCAP_~1/type0/v110/include -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/src/ipclite -IC:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_soc/inc/ipclite --output_file="eval_sigmoidnet.obj" "C:/PROGRA~1/MATLAB/R2024a/toolbox/ident/idutils/src/eval_sigmoidnet.c"
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
"C:/PROGRA~1/MATLAB/R2024a/rtw/c/src/cg_sfun.h", line 33: error: identifier "mdlInitializeSizes" is undefined
1 error detected in the compilation of "C:/Program Files/MATLAB/R2024a/toolbox/ident/idutils/src/sfunsigmoidnet.c".
>> Compilation failure
gmake: *** [sfunsigmoidnet.obj] Error 1
gmake: *** Waiting for unfinished jobs....
"C:/PROGRA~1/MATLAB/R2024a/simulink/include/simstruc.h", line 4554: warning: unrecognized #pragma
C:\test\model_ert_rtw\instrumented>echo The make command returned an error of 2
The make command returned an error of 2
C:\test\model_ert_rtw\instrumented>exit /B 1
### Build procedure for model aborted due to an error.
0 of 1 models built (1 models already up to date)
Build duration: 0h 0m 36.565s
Error:Error(s) encountered while building "model"

Antworten (1)

akshatsood
akshatsood am 20 Aug. 2024
Bearbeitet: akshatsood am 20 Aug. 2024
I understand that you are encountering issues with the build process of a model in Simulink, as shown in the error log.
The primary problems include unrecognized "#pragma" warnings, an undefined identifier error for "mdlInitializeSizes" and a subsequent compilation failure. These issues are hindering the successful build of your model.
The root of the problem seems to be the undefined "mdlInitializeSizes", which is crucial for specifying the number of inputs, outputs, states, parameters and other characteristics of the C MEX S-function. This is a required statement, so your code is missing its definition. Please check your code to ensure that "mdlInitializeSizes" is properly defined.
Here is the syntax for "mdlInitializeSizes":
#define S_FUNCTION_NAME your_s_function_name
#define S_FUNCTION_LEVEL 2
#include "simstruc.h"
static void mdlInitializeSizes(SimStruct *S) {
// Define the number of inputs
// outputs, states, etc.
}
For more information, please consult the following MathWorks documentation:
I hope this helps.

Kategorien

Mehr zu Code Generation and Deployment finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by