Support Questions

Find answers, ask questions, and share your expertise

Transforming Data from Matlab for Hadoop Ingestion

New Contributor

Does anyone have experience transferring data from a Matlab data file to a HDP-friendly format, such as .csv? There’s Matlab functions to translate .mat files to .csv ones (csvwrite/dlmwrite), but the file I’m working with is much too big to handle in Matlab. What else can I use?


@Angeera Naser

1. What about chunking that file and still use Matlab?

FileData = load('FileName.mat');csvwrite('FileName.csv', FileData.M);

2. Python:

3. Use Spark. Example: