sicajios dsgvbdgs in MATLAB Answers
上次活动时间: 2021-11-12

I want to send acceleration data from a mobile phone sensor to ThingSpeak. Error: URL is incorrectly formed, or the requested feature is not supported in this version of ThingSpeak. [acc, tacc] = accellog(m); xAcc = acc(:,1); yAcc = acc(:,2); zAcc = acc(:,3); InitialTime = datetime(m.InitialTimestamp,'InputFormat','dd-MMM-yyyy HH:mm:ss.SSS'); AccelTime = InitialTime + seconds(tacc); channelID = XXXXX; writeKey = XXXXXXXXXX; tStamps = AccelTime; data=[xAcc,yAcc,zAcc]; thingSpeakWrite(channelID,data,'TimeStamp',tStamps,'WriteKey',writeKey)

关于 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.