error: 'SETUP_PRESCALER' was not declared in this scope SETUP_PRESCALER; ^ gmake: *** [arduinoAVRScheduler.o] Error 1
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
While deploying a simulink model for my project(modelling an ultrasonic sensor) in arduino uno, I am getting the following error:
C:/ProgramData/MATLAB/SupportPackages/R2017b/toolbox/target/supportpackages/arduinotarget/registry/../scheduler/src/arduinoAVRScheduler.cpp: In function 'void configureArduinoAVRTimer()':
C:/ProgramData/MATLAB/SupportPackages/R2017b/toolbox/target/supportpackages/arduinotarget/registry/../scheduler/src/arduinoAVRScheduler.cpp:66:3: error: 'SETUP_PRESCALER' was not declared in this scope
SETUP_PRESCALER;
^
gmake: *** [arduinoAVRScheduler.o] Error 1
C:\Users\User\Desktop\ultrasonic_state_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Users\User\Desktop\ultrasonic_state_ert_rtw>An_error_occurred_during_the_call_to_make
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.
We cross checked by deploying other basic simulink models(eg: led blink) and it was running successfully.
We are unsure if the error is due to any particular simulink component that causes this error.(PFA the screenshot)
Kindly provide solution for the same.
Matlab version used: 2017b
Antworten (1)
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for 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!