thingSpeakWrite
Syntax
Description
thingSpeakWrite(
writes the data to the specified channel. The Write API key is specified as a
comma-separated pair consisting of channelID
,data
,'WriteKey','channel
write API key
')'WriteKey'
and a character vector or
string representing the channel write key.
thingSpeakWrite(___,
uses additional options specified by one or more Name,Value
)Name,Value
pair
arguments.
Examples
Input Arguments
Output Arguments
Limitations
All timestamps must be unique. You cannot write new data with timestamps that match existing data in the channel.
The allowed update frequency for a channel is limited based on your license type. See Frequently Asked Questions and How to Buy for specific information. Updates with multiple entries, such as in a table or timetable, are limited to the slower update frequency. For users of free accounts, the number of messages in a single call to
thingSpeakWrite
is limited to 960 messages. For users of paid accounts, the limit is 14,400 messages. Attempts to publish at a rate faster than the allowed limit will return the following error: Requests are too frequent. For further information, see Limitations in the documentation.
More About
Version History
Introduced in R2019a