Borrar filtros
Borrar filtros

Erorr in MATLAB code

2 visualizaciones (últimos 30 días)
Fox
Fox el 3 de Mayo de 2023
Comentada: Fox el 4 de Mayo de 2023
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.

Respuesta aceptada

Christopher Stapels
Christopher Stapels el 4 de Mayo de 2023
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 comentario
Fox
Fox el 4 de Mayo de 2023
Thanks! I try change field names to standart latin character, now all working fine!

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre Visualize Data en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by