Load variable from mat file

17 ビュー (過去 30 日間)
Collet Bastien
Collet Bastien 2013 年 3 月 29 日
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 日
S = load('YourFileName', 'Y');
Y = S.Y;

その他の回答 (0 件)

カテゴリ

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