how to read channel status using thingSpeakRead in Matlab?

13 views (last 30 days)
Hi all, I read the data from my channel using thingSpeakRead, but the status of the channel doesn't seem to be available. How do I read that from Matlab (not using REST or MQTT)?
EDIT:
我用代码:
lastData = thingSpeakRead(channelID,'OutputFormat','TimeTable','ReadKey','MY_READ_KEY')
What is printed out:
lastData =
1×5 timetable
Timestamps AppName Action Address Version Extra
______________ ______________ _________ _________ _________ ____________
04-May-2021 14:09:25 {'Data1'} {'Data2'} {'Data3'} 3.2 {'Data4'}
I would have expected a column of "Status", as my channel has the status enabled. It is not one of the fields, it was from enabling "Show Status" in the channel settings.
Thanks,
丹妮尔

Accepted Answer

Christopher Stapels
Christopher Stapels on 4 May 2021
我们的UP时间确实很高,没有理由不可用。您可以显示所使用的命令的格式吗?(随意编辑API键。)
3 Comments

Sign in to comment.

More Answers (0)

Communities

More Answers in theThings Pakeak社区

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

开始狩猎!