how to add rownames and column names for mat file
8 次查看(过去 30 天)
显示 更早的评论
i have some matfiles and i need to assign row names to all the rows of mat file
0 个评论
回答(1 个)
Image Analyst
2018-9-16
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Import, Export, and Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!