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.
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: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee