what is the difference between readtable () and datastore() ?

조회 수: 6 (최근 30일)
Naveen kumar koritala
Naveen kumar koritala 2021년 6월 29일
답변: Anupama 2023년 2월 23일
upto my knowledge both these commands are used for data import. i want to know the difference between these two. help me

채택된 답변

Mohammad Sami
Mohammad Sami 2021년 6월 29일
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.

추가 답변 (1개)

Anupama
Anupama 2023년 2월 23일
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.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by