Ardupilot Mega 2.5 + problem with Run on Target Hardware

3 views (last 30 days)
I have the same problem with Ardupilot Mega 2.5 + . I have checked and rechecked everything and while compiling it still gives the same message. "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/Targets/R2012a/arduino-1.0/hardware/tools/avr/bin/avr-gcc" -I"C ..... Anybody please help ? I am using http://www.mathworks.com/matlabcentral/fileexchange/39037-apm2-simulink-blockset for my work.I have followed all the instructions properly.

Answers (1)

Wern-Juin Choy
Wern-Juin Choy on 12 Nov 2014
You need to check if you have the correct compiler installed on your pc. A list of the compilers is provided on page 9 in the HowToReport.pdf that comes with the blockset.

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!