Read a subset of variables in Data Store
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I have a huge datastore where I would like to read a subset of variables. The variable names are of the form d1, d2, ... d60000
How can I read a subset such as d24, ..., d132?
Note that I would also like to use this with partition function.
Best
0 Commenti
Risposte (1)
KALYAN ACHARJYA
il 20 Nov 2020
Modificato: KALYAN ACHARJYA
il 20 Nov 2020
subset=[...]; % define
for i=1:length(subset)
filename=['d',num2str(subset(i))];
% Load the data one by one as per subset numbers
% If you want store the subset data for further operation, please use array/cell array
end
Vedere anche
Categorie
Scopri di più su Large Files and Big Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!