MATLAB: How to sort big data into text file by writing

sorttext filewritetable

I have big data. Table of text file is 3,496,000 rows x 6 columns.
ionex = sortrows(ionex, {'Year','DoY','Hour','Lat','Long','TEC'},'ascend');
I didn't write data to text file. I got error as follows:
"Error using writetable
"Too many output arguments.

Best Answer

Do not try to assign the result of writetable() to anything. writetable() does not have any output parameters.
Related Question