Unable to find or open table data
Mostrar comentarios más antiguos
I have a table that was imported into the work space, and I am unsure on why it is unable to be located. The table in the workspace is named "LabData3". Two of the colunms in this table are named "Qgpm" and "hpft".
Tab = readtable('LabData3');
scatter(Tab,'Qgpm','hpft');
Error using readtable (line 498)
Unable to find or open 'LabData3'. Check the path and filename or file permissions.
Error in Lab3 (line 1)
Tab = readtable('LabData3');
3 comentarios
Walter Roberson
el 8 de Mzo. de 2022
Are you saying that LabData3 is already in the workspace? If so you would not use readtable() on it.
Luke Butcher
el 8 de Mzo. de 2022
Star Strider
el 8 de Mzo. de 2022
Respuesta aceptada
Más respuestas (1)
Peter Perkins
el 9 de Mzo. de 2022
0 votos
Only in (I think) the most recent version of MATLAB will
scatter(Tab,'Qgpm','hpft');
In earlier versions, use scatter(Tab.Qgpm,Tab.hpft);
1 comentario
Luke Butcher
el 11 de Mzo. de 2022
Categorías
Más información sobre Tables en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!