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

조회 수: 1 (최근 30일)
Mthunzi Booi
Mthunzi Booi 2019년 12월 17일
편집: Hans Scharler 2020년 5월 14일
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',

답변 (1개)

Hans Scharler
Hans Scharler 2019년 12월 18일
편집: Hans Scharler 2020년 5월 14일
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');

커뮤니티

더 많은 답변 보기:  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