"Dot indexing is not supported for variables of this type" error with position
Unai Bilbao
el 3 de Abr. de 2021
Actividad más reciente Respuesta de Christopher Stapels
a las el 19 de Abr. de 2021
Hello:
I am trying to read the position (latitude and longitde) from thingSpeakRead and the terror appears: Dot indexing is not supported for variables of this type
This is my code from MATLAB Visualizations code:
data = thingSpeakRead(1299642, 'location',true)
lon = data.Longitude;
lat = data.Latitude;
figure
geoplot(lat,lon,'red-*')
geobasemap("topographic")
title("Ground Truth Trajectory")
And this is the output: data =
[]
Dot indexing is not supported for variables of this type.
Error in Posicion (line 3) lon = data.Longitude;
Someone knows what is happening?
Thank you
1 Comentario
Tiempo descendenteuse 'outputformat',timetable' in thingSpeakRead
Inicie sesión para participar