Okay, so I was able to make the map and to plot it I first uploaded latitude and longitude to a filed in my channel and then made a matlab Visualizations that reads the latitude and longitude from those fields then plots the map. My problem now is that it doesn't automatically update, I have to go in manually and lick save and run for it to plot it, is there anyway for it to auto update?
this is my code,
readChannelID = channelId;
fieldID1 = 2;
fieldID2 = 3;
readAPIKey = 'APiKey';
%% Read Data %%
% Read first data variable
[data1, time1] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 30, 'ReadKey', readAPIKey);
% Read second data variable
[data2, time2] = thingSpeakRead(readChannelID, 'Field', fieldID2, 'NumPoints', 30, 'ReadKey', readAPIKey);
gx = geoaxes;
geoplot(gx,data1,data2,'-*');
geobasemap(gx,'streets');