MATLAB Answers


how to add rownames and column names for mat file

Asked by hp
on 16 Sep 2018
Latest activity Commented on by hp
on 16 Sep 2018
i have some matfiles and i need to assign row names to all the rows of mat file


Sign in to comment.

1 Answer

Answer by Image Analyst
on 16 Sep 2018

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.