Info

This question is closed. Reopen it to edit or answer.

How to connect simulink with arduino?

1 view (last 30 days)
aravind  s pai
aravind s pai on 20 Jan 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
we have program to count the no: of cars using simulink and also have the program to control the traffic light.The problem is that how to pass the count in the first program to control the traffic light and drive the arduino in external mode
plz
  2 Comments
Madhu Govindarajan
Madhu Govindarajan on 20 Jan 2016
Looks like Stateflow logic will work perfectly for this example. If not, you can try doing triggered subsystems to pass the control from one to another. http://www.mathworks.com/help/simulink/examples/triggered-subsystems.html
aravind  s pai
aravind s pai on 21 Jan 2016
thank u sir for ur answer ...but how to give that to arduino

Answers (0)

Community Treasure Hunt

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

Start Hunting!