Chris in MATLAB Answers
최근 활동: 2025년 5월 9일

I am currently running a ThingSpeak Maltlab analysis that reads the latest channel status and acts on it. I am using this code, which works fine: url='https://api.thingspeak.com/channels/mychan/feeds/last.json?api_key=mykey&status=true'; lastData=webread(url); status = [lastData.status]; I am trying to figure out how to change this to read the last 3 channel statuses and put them into an array like status(i) where i goes from 1-3? This url returns the 3 statuses I want: url = https:'//api.thingspeak.com/channels/mychan/status.json?api_key=mykey&results=3' But I can't figure out how to get them into an array to work with. Does anyone know how to do this? Thanks.

ThingSpeak 정보

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.