Appending data into mat file without loading

9 ビュー (過去 30 日間)
Aditya
Aditya 2012 年 1 月 24 日
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 Center および File ExchangeWorkspace 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