MATLAB: Is there a way to access data from a local ThingSpeak server using the ThingSpeak Matlab Toolbox

iotmakerMATLABThingSpeak

I would like to use the functions made available in the ThingSpeak Support toolbox (e.g. the thingSpeakAuthenticate function) to read/write data on a private installation of a ThingSpeak server, rather than the cloud service on ThingSpeak.com, but I could not find a way to point Matlab towards the IP/web address hosting the ThingSpeak server. Is it possible at all?

Best Answer

Yes, for both thingSpeakRead and thingSpeakWrite, there is a name-value pair called, " URL".
For example,
thingSpeakRead(12397,'URL','http://private.server.url');
sets the base API URL to your private ThingSpeak server instead of https://api.thingspeak.com.