Arduino digital output failed

1 Ansicht (letzte 30 Tage)
Raghul
Raghul am 26 Nov. 2016
help me with this issue , while creating simple digital output through pulse generator and try to run on target got this error.
### Generating code into build folder: C:\Users\Raghul\Documents\MATLAB\untitled_ert_rtw
### Invoking Target Language Compiler on untitled.rtw
### Using System Target File: C:\Program Files\MATLAB\R2016b\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 untitled.h
### Writing header file untitled_types.h
### Writing source file untitled.c
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
.
### Writing header file untitled_private.h
### Writing source file untitled_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 untitled_dt.h
### Evaluating PostCodeGenCommand specified in the model
### Using toolchain: Arduino AVR v1.6.7 | gmake (64-bit Windows)
### 'C:\Users\Raghul\Documents\MATLAB\untitled_ert_rtw\untitled.mk' is up to date
### Building 'untitled': C:\PROGRA~1\MATLAB\R2016b\bin\win64\gmake -f untitled.mk all
arduino-1.6.7/hardware/tools/avr/bin/avr-g++ -fno-exceptions -fno-threadsafe-statics -c -g -w -ffunction-sections -fdata-sections -MMD -DARDUINO=10607 -MMD -MP -MF"MW_digitalio.dep" -MT"MW_digitalio.o" -Os -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -D_RUNONTARGETHARDWARE_BUILD_ -D_ROTH_MEGA2560_ -DMODEL=untitled -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=5 -DMW_PRESCALAR=256 -DMW_TIMERCOUNT=34286 -DMW_SCHEDULERCOUNTER=5 -D_RTT_BAUDRATE_SERIAL0_=9600 -D_RTT_BAUDRATE_SERIAL1_=9600 -D_RTT_BAUDRATE_SERIAL2_=9600 -D_RTT_BAUDRATE_SERIAL3_=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=untitled -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/arduinobase/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Raghul/Documents/MATLAB/untitled_ert_rtw -IC:/Users/Raghul/Documents/MATLAB -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2016b/toolbox/coder/rtiostream/src/utils -Iarduino-1.6.7/hardware/arduino/avr/cores/arduino -Iarduino-1.6.7/hardware/arduino/avr/variants/mega -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/arduinotarget/registry/../include -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/arduinotarget/registry/../scheduler/include -o "MW_digitalio.o" "C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/arduinobase/src/MW_digitalio.cpp"
'arduino-1.6.7' is not recognized as an internal or external command,
operable program or batch file.
gmake: *** [MW_digitalio.o] Error 1
### Creating HTML report file untitled_codegen_rpt.html
### Build procedure for model: 'untitled' aborted due to an error.
Error(s) encountered while building "untitled":
### Failed to generate all binary outputs
  1 Kommentar
alejandro castro gomez
alejandro castro gomez am 12 Feb. 2017
Bearbeitet: alejandro castro gomez am 12 Feb. 2017
i have the same problem with 2016b version

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Arduino Hardware 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