From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

SIMULINK

Hi,

How can I connect MATLAB SIMULINK to Arduino? Do I need to install something or its build in?

Thanks!

Chen.

Message 1 of 2
(3,055 Views)

Hi Chenb,

 

To install support for Arduino hardware:

  1. In a MATLAB Command Window, enter supportPackageInstaller. This starts the Support Package Installer.

  2. Follow the instructions and default settings provided by Support Package Installer to complete the installation. For more information about the options on a particular screen, click the Help button.

The installation process adds the following items to your host computer:

  • Third-party software development tools, such as the Arduino software with Mega 2560, Uno, Nano 3.0, Due, Leonardo, Mega ADK, Mini, Fio, Pro, Micro, Esplora, Robot Control Board, Robot Motor Board, Yun, and Lilypad USB board support.

  • A Simulink block library for configuring and accessing Arduino sensors, actuators, and communication interfaces.

  • Examples for getting started and learning about specific features.

  • Documentation for Simulink Support Package for Arduino Hardware.

 

Have fun 🙂

 
0 Kudos
Message 2 of 2
(3,053 Views)