Sending a character string ?
2 次查看(过去 30 天)
显示 更早的评论
Is it possible to send a character string (non-numeric) in a field? Of course, no numerical analysis would be possible and it would not be possible to plot the data in a graphic, but I would need that as sort of a log file for special events.
3 个评论
Christopher Stapels
2022-1-31
编辑:Christopher Stapels
2022-1-31
You can send strings. As you said, the automatic field plots wont work but string data is accepted. To read the data in MATLAB, use thingSpeakRead(...'outputformat','timetable') to get the string data. When you read with the REST API, no modification is required for the string data.
回答(2 个)
Christopher Stapels
2022-2-4
Write the data to the status field (...&status=myStatus... ), and then set 'show status" in your channel settings.
社区
更多回答在 ThingSpeak Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read Data from Channel 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!