I am making use of the Matlab Coder to deploy Matlab functionality to a Raspberry pi. I would like to be able to deploy the ability to write to a ThingSpeak channel from the pi. I realise that this is possible using Simulink (via the ThingSpeak block) but was wondering if there is a simple way to do this via code deployed using the Matlab Coder. I have tried the obvious and found that the Matlab Coder does not recognise the ThingSpeakWrite command. However, it also doesn’t appear to be very straightforward to deploy http methods to enable updating the channel via the POST method. Any advice welcome.
1 Comment
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/467879-how-do-i-write-to-a-thingspeak-channel-from-a-raspberry-pi-via-code-deployed-using-the-matlab-coder#comment_716915
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/467879-how-do-i-write-to-a-thingspeak-channel-from-a-raspberry-pi-via-code-deployed-using-the-matlab-coder#comment_716915
Sign in to comment.