CSV and Excel Files

Learn to read and write CSV and Excel files in MATLAB and Python.

Reading data from a CSV file

To read a CSV file in MATLAB, we can use the readtable() function. This function reads a CSV file and returns a table array, a special type of array representing tabular data.

Get hands-on with 1400+ tech skills courses.