Device Driver Block not executing on Arduino Mega 2560

Hi everyone,
I have installed the Arduino Supoort Package for Simulink and I'm developing an input driver block using the S-Function builder, following the guide provided here: http://www.mathworks.com/matlabcentral/fileexchange/39354-device-drivers.
I'm trying to get data from an RF device and I'm using an external library for running the RF receiver. My problem is that I have debugged every single error that appeared while building the model and deploying it to hardware, but it won't execute once it is "succesfuly deployed to arduino".
Does anyone have a hint on how I may solve this?
Has anyone experienced similar issues?
I'll give you more details about what I'm using:
Arduino Mega 2560
RF22 433mhz transciever
Matlab R2014b
Also, I have tried to load simple examples on the arduino board, like blinking a LED and it works, so I don't get why this won't run when I use my other script.
Thanks in advance for your response

Answers (0)

Categories

Asked:

on 24 Apr 2015

Edited:

on 24 Apr 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!