Open a Simulink demo model

Enter arduinodue_gettingstarted at the MATLAB Command Window to open a demo model.  Again, in this tutorial Arduino Due is used as an example but the same steps can be used for other boards like Uno, Mega 2560 etc. 

Double-click the Pulse Generator block to explore its pre-configured parameters. The Digital Output block is set up to send the output of the Pulse Generator to pin 9 of the Arduino Due. Double-click the block to explore its pre-configured parameters.

You are now ready to program Arduino boards!

Optional - Create the model on your own

  • Click on the Simulink Library icon to open the Simulink library browser
  • In the left navigation pane, select Simulink Support Package for Arduino Hardware
  • On the right navigation pane, double-click the [Examples] block to open the documentation

Open step-by-step guide
Click 'Getting started with Arduino Due Hardware' in the list of demos to open the step-by-step guide to build this model on your own.

This guide was first published on Jan 14, 2014. It was last updated on Jan 28, 2015.

This page (Simulink model) was last updated on Aug 29, 2013.

Text editor powered by tinymce.