MATLAB Answers

How to fix this error on Matlab analysis for your email notification?

1 view (last 30 days)
Mthunzi Booi
Mthunzi Booi on 17 Dec 2019
Answered: Hans Scharler on 18 Dec 2019
Hi Team
I have configured using the URL link for email notification below, basically i want to get a notification from email if there is an alert about my channel fields. Question is do i have to change all the default setting when using Matlab analysis as per my own channelID, api key, field names etc?
Error using webwrite (line 130)
Expected URL to be nonempty.
Error in Trigger Email from IFTTT 1 (line 41)
webwrite(iftttURL,'value1',lastValue,'value2',

  0 Comments

Sign in to comment.

Answers (1)

Hans Scharler
Hans Scharler on 18 Dec 2019
Is your channel private? If so, then you need to supply a Read API Key with the URL.
url=strcat('https://api.thingspeak.com/channels/',string(channelID),'/fields/1/last.txt&api_key=XXX');

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags

Products