- You can create a Simulink model with a switch block
- you can write C code for the arduino side to implement your logic
- as it is possible to designate each of the pins individually, you can write the logic all in MATLAB.
Is it possible to use my matlab code as input for arduino , if yes please help me and tell the procedure to interface arduino with matlab.? thanks in advance.
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a matrix variable 't' in my matlab code which contains some values say 1,2,3,4 etc. Now I want to interface this code to arduino such that if the matrix 't' contains value '1' then one of the pin in arduino say pin11 should get a output for me which I would like to use for switching.If 't' contains value '2' then another pin in arduino should act as output. Is it possible for me to get this output?
댓글 수: 0
답변 (1개)
Walter Roberson
2017년 3월 28일
편집: Walter Roberson
2017년 3월 28일
Yes.
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!