Erorr in MATLAB code
Ältere Kommentare anzeigen
This code working fine.
readChannelID = [1788078];
fieldID1 = [1];
readAPIKey = '';
[data, time] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 30, 'ReadKey', readAPIKey);
plot(time, data);
But this code, have error : "Unrecognized table variable name 'x1'."
readChannelID = [1788078];
fieldID1 = [2];
readAPIKey = '';
[data, time] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 30, 'ReadKey', readAPIKey);
plot(time, data);
What i do wrong? Thanks.
Akzeptierte Antwort
Weitere Antworten (0)
Communitys
Weitere Antworten in ThingSpeak Community
Kategorien
Mehr zu Write Data to Channel finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!