what is the difference between readtable () and datastore() ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Naveen kumar koritala
el 29 de Jun. de 2021
Respondida: Anupama
el 23 de Feb. de 2023
upto my knowledge both these commands are used for data import. i want to know the difference between these two. help me
0 comentarios
Respuesta aceptada
Mohammad Sami
el 29 de Jun. de 2021
readtable is meant for reading a single file. Datastore are designed for reading multiple files of the same data format. They are used when your big data is split across many smaller files. Under the hood the datastore might use readtable to read the individual files.
0 comentarios
Más respuestas (1)
Anupama
el 23 de Feb. de 2023
With readtable, you have to change file name everytime you run the script and select a new file for analysis with the same script but with datastore, you can use uiget function to select any file (or a new file everytime you run the script) and it will be read (without you having to worry about manually updating the file name.
0 comentarios
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!