matlab app designer and arduino

3 views (last 30 days)
Rami Bouguezzi
Rami Bouguezzi on 2 Apr 2019
Answered: Kanishk Singhal on 13 Jul 2023
i want to use matlab app designer with arduino , but i don't how to use that .
i want to start with a simple application : ledon/ledoff
how can help me with that.
thanks

Answers (1)

Kanishk Singhal
Kanishk Singhal on 13 Jul 2023
Here is the reference for connection to arduino with MATLAB.
You can try first setting up a connection with MATLAB itself perform some operations.
When you feel comfortable you start with making utility functions like
  • Connect To Arduino (Make some field for port and stuff)
  • Read value write value
  • Other function for your use case
Add these function as callback in your AppDesigner, like ButtonPushedFcn

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!