Arduino Freezing Matlab Code

4 views (last 30 days)
Chris John
Chris John on 15 Apr 2020
Commented: Justin Laiti on 10 Feb 2022
I'm trying to use arduino on Matlab. I have the arduino support package and it tells me that the arduino is detected when I plug it in my computer but whenever I run the code a = arduino() Matlab gets stuck and the only way to stop it is to close Matlab and open again. Even if i run the code in the command prompt to find the port the Arduino is in it does the same thing. I have used the arduino on this computer before and it has worked so I dont know what to do and what the problem is. Thanks!
  1 Comment
Justin Laiti
Justin Laiti on 10 Feb 2022
Did you end up figuring this out? I am TAing a course and a student is having the same issue, but we can't figure out why. Thanks!

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!