All Data Download to MATLAB | MATLAB | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
All Data Download to MATLAB
Avatar
fcoppo
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
1
December 1, 2017 - 6:40 pm
sp_Permalink sp_Print

Hi!

How do I download all the data from the channel and open it in MATLAB? I saw the download in CSV but it's not ok for MATLAB. I tried webread with the json page but it only has 100 data points.Cry

Could you please help?

Channel ID is: 372152.

Thank you!

Avatar
Vinod

Forum Posts: 164
sp_UserOfflineSmall Offline
2
December 2, 2017 - 1:29 pm
sp_Permalink sp_Print

You can use the ThingSpeak Support Toolbox from desktop MATLAB to directly pull the data into MATLAB without having to go through a file. You can also use the same functions in MATLAB apps on ThingSpeak.

Avatar
cstapels

Gold
Forum Posts: 96
sp_UserOfflineSmall Offline
3
December 4, 2017 - 1:21 pm
sp_Permalink sp_Print

Using thingSpeakRead() in the ThingSpeak Support Toolbox is the easiest way. 

If you do need to use the REST command to get channel information with webread,  you can use the results parameter to increase the number of entries up to 8000 

GET https://api.thingspeak.com/channels/9/fields/1.json?results=8000
Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

donj51

trilee

Bfletche

stuartWAI

shivmkatiyar

AidanThing

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee