Ardupilot Mega 2.5 + problem with Run on Target Hardware

I have the 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. 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • You will need embedded coder for this to run successfully. Do you have that in your SImulink/Matlab package. It does not come with standard student Matlab edition.

    Do check out my issue with getting it to run here: 

    http://diydrones.com/group/learning-to-program-the-ardupilot-mega/f...

    Also check that you have either:

    1. Arduino target 1 and 2 installed OR

    2. Arduino support package from Matlab itself (download from simulink tools, ROTH, install/update support package)

    Do let me know if you resolve this issue. 

This reply was deleted.

Activity