First of all, sorry for my english, im a french student and my english is far from being perfect.
Im trying to transmit location data from an ARDUINO ESP8266 device that has wifi.
I stock the lat ant longitude data in field 3 and field 4 after transmetting them.
Now, I would like to use matlab to read those data, stocking them into 2 variables, then use thigspeakwrite, to write those variables into location data.
I did this code below, it says that is it ok, but the latitude and longitude fields dont change.
readChannelID = ;
readAPIKey = 'AAABBB';
writeChannelID = ;
writeAPIKey = 'XXXYYY';
a= thingSpeakRead(readChannelID,'Fields',,'ReadKey', readAPIKey);
b= thingSpeakRead(readChannelID,'Fields',,'ReadKey', readAPIKey);