Hello,
I have a mat file containing 4 variables. For some reasons, I would like to load only of these 4 variables (let's say Y). How can I load it without loading the 3 others ?

 採用された回答

Walter Roberson
Walter Roberson 2013 年 3 月 29 日

0 投票

S = load('YourFileName', 'Y');
Y = S.Y;

その他の回答 (0 件)

カテゴリ

ヘルプ センター および 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!

Translated by