ThingSpeak Write
Add-On Required: This feature requires the Simulink Coder Support Package for STMicroelectronics Nucleo Boards add-on.
Libraries:
Simulink Coder Support Package for STMicroelectronics Nucleo Boards /
STM32F7
Simulink Coder Support Package for STMicroelectronics Nucleo Boards /
STM32H7
Description
Use this block publish data from your target hardware to the Internet of Things using ThingSpeak™.
ThingSpeak is an IoT analytics platform service that allows you to aggregate, visualize, and analyze live data streams in the cloud. You can send data to ThingSpeak from your devices, create instant visualizations of live data, and send alerts using web services. With MATLAB® analytics inside ThingSpeak, you can write and execute MATLAB code to perform preprocessing, visualizations, and analyses.
For more information on how to use ThingSpeak, see Apps, Plugins, or Tutorials.
Limitations
The ThingSpeak Write and ThingSpeak Read blocks take a minimum of 700 ms for execution when you run the model in external mode. If the overall model execution time when you run the model in external mode exceeds 2 s, there can be sporadic disconnects. There is no such limitation if you run the model in the
Build, load and run
mode.
Ports
Input
Parameters
Extended Capabilities
Version History
Introduced in R2021b