Matlab Analysis won't update my field!
1 次查看(过去 30 天)
显示 更早的评论
Hi
I used this code to show last 20 field1 datas in field2 chart:
% Enter your MATLAB Code below
readChId = XXX;
readKey = 'XXXXX';
writeChId = YYY;
writeKey = 'YYYYY';
[Data,t] = thingSpeakRead(readChId,'Fields',1,'NumPoints',20,'readkey',readKey);
thingSpeakWrite(writeChId,Data,'Fields',2,'Timestamps',t,'Writekey',writeKey);
display (Data)
when i click save an run i can see Data in output box but i can't see anything in field2 chart!
i activate timecontrol for every 30 minuts but still i can't see any data in field2 chart :(
what is my problem?
0 个评论
回答(1 个)
Vinod
2020-7-12
If you want a plot of your values, you need to use a MATLAB visualization and add the output to the view of your channel.
5 个评论
社区
更多回答在 ThingSpeak Community
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!