MATLAB Answers

hp
0

how to add rownames and column names for mat file

Asked by hp
on 16 Sep 2018 at 11:34
Latest activity Commented on by hp
on 16 Sep 2018 at 14:39

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

  0 Comments

Sign in to comment.

1 Answer

Answer by Image Analyst
on 16 Sep 2018 at 13:27

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.