Rank: 254968 based on 0 downloads (last 30 days) and 0 file submitted
photo

Sreeram

E-mail
Company/University
MathWorks India Private Ltd

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Sreeram
Updated File Comments Rating
22 Jul 2014 Simulink Support Package for Arduino Hardware Student-priced microcontroller board Author: MathWorks Simulink Team

Hi Carlos,

There are two options
1) One could use for iterator block or something that can read bytes one by one and then buffer them as per application needs in the model
2) or on the contrary create a custom block that uses the Serial.readBytes function from the arduino standard library. http://arduino.cc/en/Serial/ReadBytes
For creating a Custom driver block one could follow the guide published at
http://www.mathworks.in/matlabcentral/fileexchange/39354-device-drivers

Hope this helps,
Thanks,
Sreeram Mohan

Contact us