Filter löschen
Filter löschen

Matlab GUI - storing real time data

5 Ansichten (letzte 30 Tage)
Lola
Lola am 29 Apr. 2022
Beantwortet: Rik am 29 Apr. 2022
Hi. I am using GUIDE to create a MATLAB GUI. The aim is to store real time data in a variable as an array so that it can be used for later use. The data is required to start saving when a pushbutton is pressed. However I am having trouble writing a callback for to store the data. Approximately 50 readings will be received through serial connection. Please assist

Akzeptierte Antwort

Rik
Rik am 29 Apr. 2022
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread. Using GUIDE is a bad idea. It is outdated and forced you to keep using a narrow range of releases.
As for your problem itself: a GUI in Matlab is nothing special. It is just a wrapper around the functions you have already written. So you should first write the function that stores the data received through that serial connection. Then you can create the callback function that will call your data saving function.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by