Problem: Upload .CSV via MATLAB Analysis App | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





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

sp_Feed sp_TopicIcon
Problem: Upload .CSV via MATLAB Analysis App
No permission to create posts
April 20, 2017
7:42 am
Avatar
kelle333
New Member
Members
Forum Posts: 2
Member Since:
April 20, 2017
sp_UserOfflineSmall Offline

Hey,

I want to creat an MATLAB Analysis App to upload a CSV-Data from my computer periodically to my channel, but I failedYell

I tried to read my data in using "textread('/Filepath/Data.csv')", but I always get "error: File not found".

 

Can someone help me with the code? How can I read my CSV-File in using MATLAB Analysis App?

April 23, 2017
10:31 am
Avatar
Vinod

MathWorks
Members
Forum Posts: 200
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

The MATLAB that is running on ThingSpeak is running in the cloud. That MATLAB cannot access files in 'Filepath'. Can you tell me more about how this CSV file is being generated? Perhaps the best solution is to have watever process generates the CSV file automatically post the data to ThingSpeak using the REAT or MQTT APIs.

April 25, 2017
7:45 am
Avatar
kelle333
New Member
Members
Forum Posts: 2
Member Since:
April 20, 2017
sp_UserOfflineSmall Offline

Thanks for your reply.

I allready figured the problem out for myself and wrote an MATLAB code on my local PC with an timer and ThingSpeakWrite.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

celinabw2, FitoSprayscroma, LunnonGor, lancevl16, bernicenk60, veronicadq18

Administrators: Hans: 387, lee: 457