How can I load just one column of a table into the memory?
1 view (last 30 days)
Show older comments
I have tables which are saved in .mat files with one table per file. The tables are too big for the memory or it would take a lot of time to load the whole table so I want to load just the part I need. Thanks for help
2 Comments
Answers (1)
Azzi Abdelmalek
on 8 Aug 2016
A=rand(10000,1)
save file A
If you want to load a part of A
clear
s=matfile(file)
out=s.A(1:20,1)
0 Comments
See Also
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!