필터 지우기
필터 지우기

Erorr in MATLAB code

조회 수: 2 (최근 30일)
Fox
Fox 2023년 5월 3일
댓글: Fox 2023년 5월 4일
This code working fine.
readChannelID = [1788078];
fieldID1 = [1];
readAPIKey = '';
[data, time] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 30, 'ReadKey', readAPIKey);
plot(time, data);
But this code, have error : "Unrecognized table variable name 'x1'."
readChannelID = [1788078];
fieldID1 = [2];
readAPIKey = '';
[data, time] = thingSpeakRead(readChannelID, 'Field', fieldID1, 'NumPoints', 30, 'ReadKey', readAPIKey);
plot(time, data);
What i do wrong? Thanks.

채택된 답변

Christopher Stapels
Christopher Stapels 2023년 5월 4일
I think it is related to the special characters in the field names. Thank you for reporting this, we will look into it further. In the meantime, can you change your field names to have all standard latin characters and let us know if that fixes the issue?
  댓글 수: 1
Fox
Fox 2023년 5월 4일
Thanks! I try change field names to standart latin character, now all working fine!

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

추가 답변 (0개)

커뮤니티

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

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by