how to add rownames and column names for mat file

4 views (last 30 days)
hp
hp on 16 Sep 2018
Commented: hp on 16 Sep 2018
i have some matfiles and i need to assign row names to all the rows of mat file

Answers (1)

Image Analyst
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
hp
hp on 16 Sep 2018
i am not getting how can i add all the names of the images to my mat file..

Sign in to comment.

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!