Clear Filters
Clear Filters

Calculate and Display Average Humidity

67 views (last 30 days)
PANOS on 27 May 2024 at 7:36
Commented: PANOS on 27 May 2024 at 8:59
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.
Manikanta Aditya
Manikanta Aditya on 27 May 2024 at 8:53
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 on 27 May 2024 at 8:59
respone is the same error,it works only with field 1(string) and field 6 (integer)

Sign in to comment.

Answers (0)



Community Treasure Hunt

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

Start Hunting!