Read serial data in Matlab(in .m file of GUI, not in command window) and display on Matlab GUI
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Swanand Pisat
am 5 Dez. 2015
Kommentiert: Walter Roberson
am 5 Dez. 2015
Hello all, I need to read serial data continuously and display it on Matlab GUI. I need to know which things of the .m file need to be updated because I am new to Matlab and its GUI environment. Please help...
Thanks in advance
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 5 Dez. 2015
2 Kommentare
Walter Roberson
am 5 Dez. 2015
Which MATLAB release are you using?
Are you getting the list of ports, COM1, COM2, and so on?
There was an old release about 5 years ago where you might have to change
serPortn = get(handles.portList, 'Value');
to
serPortn = get(handles(1).portList, 'Value');
and probably other places would need changes to. The bug was corrected in the next release (and probably in a service pack as well.)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Programming Utilities finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!