Appending data into mat file without loading

2 次查看(过去 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.

回答(1 个)

Andreas Goser
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.

类别

Help CenterFile 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!

Translated by