Read a subset of variables in Data Store
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
KALYAN ACHARJYA
el 20 de Nov. de 2020
Editada: KALYAN ACHARJYA
el 20 de Nov. de 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
Ver también
Categorías
Más información sobre Large Files and Big Data 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!