Filter löschen
Filter löschen

Matlab Generaterd BAT File

4 Ansichten (letzte 30 Tage)
Vibhav
Vibhav am 21 Feb. 2024
Kommentiert: Vibhav am 25 Feb. 2024
I have made a simple simulink model for blinking an LED on Arduino UNO,the model runs perfectly and when i generate C code using embedded coder i get all files including a bat file,so i am trying to externally flash the matlab generated bat file on Arduino UNO through VS Code but the .bat file is giving me an error which says,
"C:/Program Files/MATLAB/R2023b/bin/win64/gmake" -j5 -C "C:/PROGRA~3/MATLAB/SUPPOR~1/R2023b/toolbox/target/SUPPOR~1/ARDUIN~2/STATIC~1" SHELL="%SystemRoot%/system32/cmd.exe" -f avrcore.mk all
gmake[1]: Entering directory `C:/PROGRA~3/MATLAB/SUPPOR~1/R2023b/toolbox/target/SUPPOR~1/ARDUIN~2/STATIC~1'
gmake[1]: *** No rule to make target `/hardware/arduino/avr/cores/arduino/wiring_pulse.S', needed by `C:/Users/vibha/DOCUME~1/MATLAB/R2023b/ARDUIN~1/ARDUIN~1/FASTER~2/wiring_pulse.S.o'. Stop.
gmake[1]: Leaving directory `C:/PROGRA~3/MATLAB/SUPPOR~1/R2023b/toolbox/target/SUPPOR~1/ARDUIN~2/STATIC~1'
gmake: *** [all] Error 2
So what do i do?

Antworten (1)

Shreeya
Shreeya am 22 Feb. 2024
The error suggests that wiring_pulse.S file is missing and thus is not available to make. You can check the following and modify the make file:
  • Is the file name and extension correct.
  • Is the file present in the specified directory.
  1 Kommentar
Vibhav
Vibhav am 25 Feb. 2024
I have checked both but the file is not genereted by my simulink model

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Embedded Coder 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