Filter löschen
Filter löschen

I'm getting an error I don't understand

1 Ansicht (letzte 30 Tage)
Spencer Bryant
Spencer Bryant am 2 Dez. 2019
Using EV3 simulink, a custom matlab function takes inputs from the ev3 up button and a color sensor, then outputs to two motors (A and B) and a display.
Can someone translate this, I don't know what this error is saying.
C:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\bin/arm-none-linux-gnueabi-gcc -c -MMD -MP -MF"rtGetInf.dep" -MT"rtGetInf.o" -O0 -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\arm-none-linux-gnueabi\libc\usr\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include-fixed -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lms2012.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lmstypes.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_bytecodes.instrset\EV3Source -c -nostdinc -D_POSIX_C_SOURCE=199309L -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject -IF:/ProgramFiles/toolbox/eml/externalDependency/timefun -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/include -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject/test_ert_rtw -IF:/ProgramFiles/extern/include -IF:/ProgramFiles/simulink/include -IF:/ProgramFiles/rtw/c/src -IF:/ProgramFiles/rtw/c/src/ext_mode/common -IF:/ProgramFiles/rtw/c/ert -IF:/ProgramFiles/toolbox/target/codertarget/rtos/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/src -o rtGetInf.o rtGetInf.c C:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\bin/arm-none-linux-gnueabi-gcc -c -MMD -MP -MF"rtGetNaN.dep" -MT"rtGetNaN.o" -O0 -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\arm-none-linux-gnueabi\libc\usr\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include-fixed -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lms2012.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lmstypes.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_bytecodes.instrset\EV3Source -c -nostdinc -D_POSIX_C_SOURCE=199309L -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject -IF:/ProgramFiles/toolbox/eml/externalDependency/timefun -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/include -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject/test_ert_rtw -IF:/ProgramFiles/extern/include -IF:/ProgramFiles/simulink/include -IF:/ProgramFiles/rtw/c/src -IF:/ProgramFiles/rtw/c/src/ext_mode/common -IF:/ProgramFiles/rtw/c/ert -IF:/ProgramFiles/toolbox/target/codertarget/rtos/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/src -o rtGetNaN.o rtGetNaN.c C:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\bin/arm-none-linux-gnueabi-gcc -c -MMD -MP -MF"rt_nonfinite.dep" -MT"rt_nonfinite.o" -O0 -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\arm-none-linux-gnueabi\libc\usr\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include-fixed -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lms2012.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lmstypes.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_bytecodes.instrset\EV3Source -c -nostdinc -D_POSIX_C_SOURCE=199309L -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject -IF:/ProgramFiles/toolbox/eml/externalDependency/timefun -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/include -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject/test_ert_rtw -IF:/ProgramFiles/extern/include -IF:/ProgramFiles/simulink/include -IF:/ProgramFiles/rtw/c/src -IF:/ProgramFiles/rtw/c/src/ext_mode/common -IF:/ProgramFiles/rtw/c/ert -IF:/ProgramFiles/toolbox/target/codertarget/rtos/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/src -o rt_nonfinite.o rt_nonfinite.c C:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\bin/arm-none-linux-gnueabi-gcc -c -MMD -MP -MF"test.dep" -MT"test.o" -O0 -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\arm-none-linux-gnueabi\libc\usr\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include-fixed -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lms2012.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lmstypes.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_bytecodes.instrset\EV3Source -c -nostdinc -D_POSIX_C_SOURCE=199309L -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject -IF:/ProgramFiles/toolbox/eml/externalDependency/timefun -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/include -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject/test_ert_rtw -IF:/ProgramFiles/extern/include -IF:/ProgramFiles/simulink/include -IF:/ProgramFiles/rtw/c/src -IF:/ProgramFiles/rtw/c/src/ext_mode/common -IF:/ProgramFiles/rtw/c/ert -IF:/ProgramFiles/toolbox/target/codertarget/rtos/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/src -o test.o test.c C:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\bin/arm-none-linux-gnueabi-gcc -c -MMD -MP -MF"driver_ev3_button.dep" -MT"driver_ev3_button.o" -O0 -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\arm-none-linux-gnueabi\libc\usr\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcerylite.instrset\CodeSourcery\lib\gcc\arm-none-linux-gnueabi\4.4.1\include-fixed -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lms2012.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_lmstypes.instrset\EV3Source -IC:\ProgramData\MATLAB\SupportPackages\R2019a\3P.instrset\ev3sourcecode_bytecodes.instrset\EV3Source -c -nostdinc -D_POSIX_C_SOURCE=199309L -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DSTACK_SIZE=64 -DRT -DMODEL=test -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject -IF:/ProgramFiles/toolbox/eml/externalDependency/timefun -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/include -IF:/Users/bryan/Documents/MatLabFiles/EV3GroupProject/test_ert_rtw -IF:/ProgramFiles/extern/include -IF:/ProgramFiles/simulink/include -IF:/ProgramFiles/rtw/c/src -IF:/ProgramFiles/rtw/c/src/ext_mode/common -IF:/ProgramFiles/rtw/c/ert -IF:/ProgramFiles/toolbox/target/codertarget/rtos/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/toolbox/target/SUPPOR~1/ev3/src -o driver_ev3_button.o C:/ProgramData/MATLAB/SupportPackages/R2019a/toolbox/target/supportpackages/ev3/src/driver_ev3_button.c C:/ProgramData/MATLAB/SupportPackages/R2019a/toolbox/target/supportpackages/ev3/src/driver_ev3_button.c: In function 'initButton': C:/ProgramData/MATLAB/SupportPackages/R2019a/toolbox/target/supportpackages/ev3/src/driver_ev3_button.c:24: error: 'MAP_FILE' undeclared (first use in this function) C:/ProgramData/MATLAB/SupportPackages/R2019a/toolbox/target/supportpackages/ev3/src/driver_ev3_button.c:24: error: (Each undeclared identifier is reported only once C:/ProgramData/MATLAB/SupportPackages/R2019a/toolbox/target/supportpackages/ev3/src/driver_ev3_button.c:24: error: for each function it appears in.) gmake: *** [driver_ev3_button.o] Error 1

Antworten (1)

Daniel Renjewski
Daniel Renjewski am 1 Mai 2020
I got the same error and managed to advance beyond it. I switched to connect through bluetooth and all of a sudden MATLAB complained that it would require the "Instrument Control Toolbox". After I installed it and switched back to USB the error went away. I am still having connectivity issues, namely
The following error occurred during deployment to your hardware board: Failed to download application to EV3: Cannot connect to EV3 brick through USB. Make sure: 1)EV3 is connected properly through USB. 2)No connection to the EV3 brick is established through EV3I/O. Clear any existing EV3I/O object.
but at least the error you mentioned seems to have been solved. Good luck!
Daniel

Kategorien

Mehr zu Downloads 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