October 23, 2014
Is this possible? I'm able to do so outside of Matlab by sending a POST request to
But I'd like to do so within Matlab so I'm seeking another method.
April 29, 2016
You can use the following MATLAB code as a template to send a POST request to create a channel from within MATLAB,
UserApiKey = 'xxxxxxxxx'; % This is your account API key found on the Account -> My Account Page url = 'https://api.thingspeak.com/channels.json'; data = ['api_key=',UserApiKey, '&name=test channel']; % These are the parameters for the POST request response = webwrite(url,data) % Using webwrite command to send a POST request
You can visit the https://www.mathworks.com/help/thingspeak/queue-commands-using-the-talkback-app-from-matlab.html for an example as how to use MATLAB commands to send GET and POST requests.
Most Users Ever Online: 166
Currently Browsing this Page:
Guest Posters: 1
Newest Members:kusmumichael, petersmith99, Rambant, blakeharriss09, optisol, Niyonzima Fils
Moderators: cstapels: 460
Administrators: Hans: 405, lee: 457