Transfer data from an App in computer desktop to matlab
8 views (last 30 days)
Show older comments
Hi there,
I have an app on my computer desktop that the shows real time heart rate data and I was wondering
is there any way to transfer these real-time data to matlab?
All the best,
Nikan
1 Comment
Benjamin Thompson
on 22 Mar 2022
Can you provide more information about the app? Does it save files in well known formats, or send data over a network?
Answers (1)
Lokesh
on 17 Oct 2023
Hi Nikan,
I understand that you want to transfer data from your app on computer desktop to MATLAB.
It is possible to transfer real-time heart rate data from an app on your computer desktop to MATLAB. However, the specific method of transferring the data will depend on the capabilities and interface options provided by the app you are using.
Here are a few general approaches you can consider:
- Data Export: Check if the app allows exporting data to a file format like CSV, TXT, or MAT. If such an option is available, then you can import the data into MATLAB using functions like “readtable” or “load”.
- Streaming: If the app supports data streaming, you may be able to establish a connection between the app and MATLAB using a communication protocol such as TCP/IP, UDP, or serial communication. This would require programming both the app and MATLAB to establish the connection and transfer the data in real-time.
Please refer to the following MATLAB documentation links to know more about “readtable”, “load” and “Interface Based Communication”:
- readtable: https://www.mathworks.com/help/matlab/ref/readtable.html
- load: https://www.mathworks.com/help/matlab/ref/load.html
- Interface Based Communication: https://in.mathworks.com/help/instrument/interface-based-communication.html
I hope this helps you.
Best Regards,
Lokesh
0 Comments
See Also
Categories
Find more on Troubleshooting in Simulink Desktop Real-Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!