Arduino Uno Deployment Error in Simulnk
Show older comments
Good morning all,
I've been trying to deploy my arduino uno board using simulink to take some analog reading from a circuit I built, I updated my drivers and checked all my connections, yet whenever I press the deploy button it stops at 60% of progress giving me the error you can see in the picture, can anybody help me with this because I got an assignment to deliver and I have no to time to learn how to used the arduino special hardware as I find MatLab much easier and convenient, thanks in advance..
The call to realtime_make_rtw_hook, during the after_make hook generated the following error: The build failed with the following message: "C:/MATLAB/SupportPackages/R2014b/arduino-1.0.5/hardware/tools/avr/bin/avr-gcc" -I"C:/MATLAB/SupportPackages/R2014b/arduinobase/toolbox/realtime/targets/arduino/include" -I"C:/MATLAB/SupportPackages/R2014b/arduinobase/toolbox/realtime/targets/arduino/blocks/sfcn/include" -I"D:/Work/Lectures -c -x none ./HardwareSerial.cpp ./IPAddress.cpp ./Print.cpp ./WInterrupts.c ./WMath.cpp ./WString.cpp ./new.cpp ./wiring.c ./wiring_analog.c ./wiring_digital.c ./io_wrappers.cpp ./analogeread.c ./analogeread_data.c ./ert_main.c avr-gcc: no input files make: * [HardwareSerial.o] Error 1
The build process will terminate as a result.
The build failed with the following message: "C:/MATLAB/SupportPackages/R2014b/arduino-1.0.5/hardware/tools/avr/bin/avr-gcc" -I"C:/MATLAB/SupportPackages/R2014b/arduinobase/toolbox/realtime/targets/arduino/include" -I"C:/MATLAB/SupportPackages/R2014b/arduinobase/toolbox/realtime/targets/arduino/blocks/sfcn/include" -I"D:/Work/Lectures -c -x none ./HardwareSerial.cpp ./IPAddress.cpp ./Print.cpp ./WInterrupts.c ./WMath.cpp ./WString.cpp ./new.cpp ./wiring.c ./wiring_analog.c ./wiring_digital.c ./io_wrappers.cpp ./analogeread.c ./analogeread_data.c ./ert_main.c avr-gcc: no input files make: * [HardwareSerial.o] Error 1 Component: Simulink | Category: Block error
Answers (1)
Venkatesh Chilapur
on 11 Dec 2017
0 votes
Hi,
Try re-installing the support package. Please contact MathwWorks tech support for further help!!
Regards,
Venkatesh C
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!