How do i convert 2D matrices mat files into a csv file?

I have a dataset in data.mat file with 27 variables and each variable has different dimensions. I want to convert this data.mat file into csv file. Is it possible to have all variables in one csv file?

 Accepted Answer

You can write a for loop to write all the data of these .mat files onto an .csv file.
Please refer the following discussion

More Answers (0)

Products

Release

R2020a

Asked:

on 19 Jan 2023

Answered:

on 19 Jan 2023

Community Treasure Hunt

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

Start Hunting!