What does 'NumPoints' means? What does it do to the variable?

[pressure,time] = thingSpeakRead(readChId,'Fields',1,'NumPoints',100);
Hi everyone, I'm using this variable in a program code and I'd like to know what expression 'NumPoint' does to it. What I want to do is to read a signal now at timeline and another point a few minutes before the first one to calculate how much litters a machine is produzing tax production. How could I do that?
PS: This is the first time I'm using any kind of programming language

댓글 수: 1

Please provide a link to the function you’ve quoted. That saves us the effort of searching for it.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 3월 19일

0 개 추천

It does what it says on the box ;-)
"Number of data points to extract, specified as a comma-separated pair consisting of 'NumPoints' and a numeric value. The number of points or rows of data is counted from the time the command is issued. The ThingSpeak server limits the number of points returned to a maximum of 8000."

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

도움말 센터File Exchange에서 ThingSpeak에 대해 자세히 알아보기

질문:

2018년 3월 19일

답변:

2018년 3월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by