saving a csv file as a .mat file

 Accepted Answer

if columns have equal number of rows
M=csvread('filename.csv')
save('filename.mat','M')

More Answers (2)

Sachin Ganjare
Sachin Ganjare on 18 Oct 2012

2 Comments

i have a csv file and want to convert it to a matlab file. how can i do this?

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!