how to link thingspeak to matlab gui data

조회 수: 18 (최근 30일)
mak carlos
mak carlos 2017년 3월 9일
댓글: Sharath Cherian Thomas 2019년 9월 3일
my project is doing image processing , after process has come out the value ,my lecturer advice me link the matlab data to android phone, my team member found thingspeak will help on this path ,mean gui show the value and save to thingspeak after that get the data from thingspeak trasfer to MIT but i face problem is how to upload the data to thingspeak can anyone help me thank you
  댓글 수: 1
Subin Kuttappan Stellal Mary
Subin Kuttappan Stellal Mary 2017년 3월 13일
Do you wish to upload data to ThingSpeak from your Android phone, or from MATLAB running in your computer?

댓글을 달려면 로그인하십시오.

답변 (1개)

Hans Scharler
Hans Scharler 2017년 4월 4일
To send data to ThingSpeak from desktop MATLAB, you need to have the ThingSpeak Support Toolbox installed ( https://www.mathworks.com/matlabcentral/fileexchange/52244-thingspeak-support-toolbox ).
Once you have the toolbox, you use the "thingSpeakWrite" function directly in MATLAB.
thingSpeakWrite(17504,[2.3,1.2,3.2,0.1],'WriteKey','23ZLGOCCU9VWHG2H')
This code sends data (2.3,1.2,3.2,0.1) to a ThingSpeak channel (17504). In your case, you would have your own channel and your own WriteKey. If you have a MathWorks account, you can sign into ThingSpeak without signing up.
  댓글 수: 1
Sharath Cherian Thomas
Sharath Cherian Thomas 2019년 9월 3일
Tried this and worked on matlab but once I package the app made with >>guide, it doesn't work when I install elsewhere. The app is supposed to take in data from thingspeak and plot on the app. When I run the code it works properly but on app it doesn't.

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 ThingSpeak에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by