Calculate and Display Average Humidity

13 次查看(过去 30 天)
PANOS
PANOS 2024-5-27
评论: PANOS 2024-5-27
Hello,
iam trying with the above template to calculate average weight (field4) of channel 2165217 (public),
it works on field 1 but not on field 4 that i want.Both fields are send as string.
Error is :
Error using Calculate and display average humidity (line 21)
Unrecognized table variable name 'x'.
What is wrong?,thank you.
  4 个评论
Manikanta Aditya
Manikanta Aditya 2024-5-27
The error is happenning while parsing, in the 'thinkSpeakRead.m' file. It was unable to parse the server response, probably server response is not as expected. First you have pinpoint the exact problem right, Maybe the response format is updated.
PANOS
PANOS 2024-5-27
respone is the same error,it works only with field 1(string) and field 6 (integer)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 String Parsing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by