Send a program to Arduino through Matlab
Ältere Kommentare anzeigen
Hi, I have an Arduino program that controls an IR led to trigger the shutter. I want to be able to control it with a Matlab GUI, but I haven't yet found anything. I have tried ArduinoIO, but it only lets me control basic things from Matlab, it doesn't let me upload an already compiled Arduino code from Matlab and then modify some of the variables with a GUI, which is what I want. Thanks.
Antworten (2)
Walter Roberson
am 17 Nov. 2015
1 Stimme
If you are not planning to create a web server on the arduino, then to control the variables through a GUI you will need to run the GUI on the MATLAB side and it will need to send commands to the Arduino side, which would have to be programmed to receive the commands and alter the variables accordingly.
1 Kommentar
Francisco Ardevol
am 18 Nov. 2015
Bearbeitet: Francisco Ardevol
am 18 Nov. 2015
Madhu Govindarajan
am 18 Nov. 2015
0 Stimmen
I think the best way to go about this issue would be to write the MATLAB equivalent of the Arduino sketch because Arduino IO is in essence downloading a server code and communicating with the board. Because of this server code already running on the board, you won't be able to download another sketch at the same time. If you are using the latest support packages from MATLAB and don't have IP that needs protection you can post your Arduino sketch here and volunteers might be able to help you with the MATLAB script/function that you will need.
Kategorien
Mehr zu Arduino Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!