how to add rownames and column names for mat file
4 views (last 30 days)
Show older comments
i have some matfiles and i need to assign row names to all the rows of mat file
0 Comments
Answers (1)
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.
See Also
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!