Appending data into mat file without loading
4 次查看(过去 30 天)
显示 更早的评论
I have a variable named A in existing mat file. No I want to add some columns of data into A.But i dont want to load that mat file. Can I directly copy the data into A without loading that mat file variable into workspace.
0 个评论
回答(1 个)
Andreas Goser
2012-1-24
You can append additional variable to the MAT file with
save -append
but you can't alter a saved variable. You may want to think of a algorithm that has the column information in the variable name like A001, A002 to achieve your goal.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!