We all feel headache about importing large data into matlab which may cause 'out of memory' problem. Since large CSV data usually stored in columns or rows, we can read CSV file column by column or row by row.
csvscan.m is a simple draft but work well for unlimited size of csv file, if each column data does not surpass the memory limitation. In my case, I have loaded 500M Bytes CSV file in 34 separated mat files. Hope it can help you.
At the end of each loop, text=; and textarray= are added to release the memory.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.