Normal mode simulation with Simulink® IO is an intermediate step in the workflow for Model-Based Design that bridges the gap between simulation and code generation by enabling Simulink to communicate with the hardware before deploying the model on the hardware. Simulink IO enables you to modify your model design and monitor the effect of the modified design using the peripheral data from the hardware in a near real-time environment. You are not required to deploy the model on the hardware to monitor the effect of the modified design, which accelerates the simulation process. This Simulink (software) and Arduino® (hardware) interaction is available in Normal mode simulation only when you enable Simulink IO.
This video will show you how to start using Simulink IO on Arduino and how to interface peripherals like Digital IO, ADC, PWM, SPI, and I2C with working demos on Arduino Mega.
MATLAB Support Package for Arduino Hardware:
Communicate with Hardware in Normal Mode Simulation Using Simulink IO:
Getting Started with MATLAB Support Package for Arduino Hardware:
Simulink IO:
--------------------------------------------------------------------------------------------------------
Get a free product Trial:
Learn more about MATLAB:
Learn more about Simulink:
See What's new in MATLAB and Simulink:
© 2019 The MathWorks, Inc. MATLAB and Simulink are registered
trademarks of The MathWorks, Inc.
See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.