"Dot indexing is not supported for variables of this type" error with position
Unai Bilbao
on 3 Apr 2021
Latest activity Reply by Christopher Stapels
on 19 Apr 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 Comment
Time Descendinguse 'outputformat',timetable' in thingSpeakRead
Sign in to participate