Error while simulink interface with arduino uno for Matlab R2016a
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Code Generation 1
Elapsed: 38 sec
### Generating code into build folder: D:\matlab arduino\led13_ert_rtw
### Invoking Target Language Compiler on led13.rtw
### Using System Target File: C:\Program Files\MATLAB\R2016a\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 led13.h
.
### Writing header file led13_types.h
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
### Writing source file led13.c
### Writing header file led13_private.h
.
### Writing source file led13_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 led13_dt.h
### Evaluating PostCodeGenCommand specified in the model
### Using toolchain: Arduino AVR v1.6.1 | gmake (64-bit Windows)
### Creating 'D:\matlab arduino\led13_ert_rtw\led13.mk' ...
### Building 'led13': C:\PROGRA~1\MATLAB\R2016a\bin\win64\gmake -f led13.mk all
C:/MATLAB/SupportPackages/R2016a/arduino-1.6.1/hardware/tools/avr/bin/avr-gcc -c -g -w -ffunction-sections -fdata-sections -MMD -DARDUINO=10601 -MMD -MP -MF"led13.dep" -MT"led13.o" -Os -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -D_RUNONTARGETHARDWARE_BUILD_ -DMODEL=led13 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DON_TARGET_WAIT_FOR_START=1 -DONESTEPFCN=1 -DEXT_MODE=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DMW_TIMERID=1 -DMW_PRESCALAR=256 -DMW_TIMERCOUNT=59286 -DMW_SCHEDULERCOUNTER=1 -D_RTT_BAUDRATE_SERIAL0_=9600 -D_RTT_ANALOG_REF_=0 -DONESTEPFCN=1 -DEXT_MODE=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DON_TARGET_WAIT_FOR_START=1 -DEXIT_FAILURE=1 -DEXTMODE_DISABLEPRINTF -DEXTMODE_DISABLETESTING -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DRT -DSTACK_SIZE=64 -DMODEL=led13 -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/arduinobase/include -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/arduinobase/blocks/sfcn/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include/sf_runtime -ID:/matlab arduino/led13_ert_rtw -ID:/matlab arduino -IC:/PROGRA~1/MATLAB/R2016a/extern/include -IC:/PROGRA~1/MATLAB/R2016a/simulink/include -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2016a/toolbox/coder/rtiostream/src/utils -IC:/MATLAB/SupportPackages/R2016a/arduino-1.6.1/hardware/arduino/avr/cores/arduino -IC:/MATLAB/SupportPackages/R2016a/arduino-1.6.1/hardware/arduino/avr/variants/standard -IC:/MATLAB/SupportPackages/R2016a/arduino-1.6.1/libraries/Servo/src -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/arduinotarget/registry/../include -IC:/MATLAB/SupportPackages/R2016a/toolbox/target/supportpackages/arduinotarget/registry/../scheduler/include -o "led13.o" "led13.c"
avr-gcc: error: arduino/led13_ert_rtw: No such file or directory
avr-gcc: error: arduino: No such file or directory
gmake: *** [led13.o] Error 1
### Creating HTML report file led13_codegen_rpt.html
### Build procedure for model: 'led13' aborted due to an error.
Error(s) encountered while building "led13":
### Failed to generate all binary outputs.
0 commentaires
Réponses (2)
azza ibraheem
le 15 Avr 2017
I have this error Error(s) encountered while building "moh11": ### Failed to generate all binary outputs.
carlos valtierra
le 28 Avr 2017
Hello friend! I have the same problem. How i can to solve it ?. I don't know what to do
0 commentaires
Voir également
Catégories
En savoir plus sur Arduino Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!