matlab app designer and arduino

5 次查看(过去 30 天)
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

回答(1 个)

Kanishk Singhal
Kanishk Singhal 2023-7-13
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

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by