An example of how to read a Xively feed from MATLAB. Xively promotes the IoT (Internet of Things) provinding a platform for easily uploading and accessing data. There are libraries for a variety of languages, but apparently not for MATLAB. However, they offer a REST API.
This example script uses this API to get CPU load and CPU temperature from a Raspberry Pi and uses it to plot a figure of the increasing of temperature over time, taking into account only datapoints where the CPU load was low.
Jorge (2021). XivelyRead (https://github.com/JorgeGT/XivelyRead), GitHub. Retrieved .
Inspired by: export_fig, Intelligent Dynamic Date Ticks
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.