How do I load only part of a table saved to a .mat file?
Mostra commenti meno recenti
I have some large tables stored in .mat files and was wondering if there is a way I could load only some of the data into MATLAB (for example, a subset of rows or columns in a table). I read about the matfile function, but it doesn't seem to work with tables. Whenever I try to load part of a table, I get an error telling me to load the whole table. Is there some way to load partial data that works for tables?
Risposta accettata
Più risposte (2)
Walter Roberson
il 23 Mar 2022
0 voti
No, there is no method provided for that.
Peter Perkins
il 24 Mar 2022
0 voti
You might look into using datastores, which would, in effect, allow you to load pieces.
3 Commenti
Kyle Padilla
il 28 Mar 2022
Walter Roberson
il 29 Mar 2022
I believe that the idea is that if the table were instead stored in a file such as a .xlsx file, then tabularDataStore would be able to process it piecewise, chunks of rows at a time.
Kyle Padilla
il 30 Mar 2022
Categorie
Scopri di più su Tables in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!