how to add rownames and column names for mat file

i have some matfiles and i need to assign row names to all the rows of mat file

Answers (1)

A mat file does not have rows. You can save an additional variable in your mat file if you want though. Just list them all
save('my variables.mat', 'var1', 'rowHeadings', 'fileNames', 'dataTable');
or whatever. Adapt as needed.

1 Comment

i am not getting how can i add all the names of the images to my mat file..

Sign in to comment.

Asked:

hp
on 16 Sep 2018

Commented:

hp
on 16 Sep 2018

Community Treasure Hunt

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

Start Hunting!