MAT-ファイルをロ​ードする前にファイル​に含まれる変数一覧を​知る方法はありますか​?

15 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2013 年 10 月 25 日
回答済み: MathWorks Support Team 2013 年 10 月 25 日
MAT-ファイルをロードする前にファイルに含まれる変数一覧を知る方法はありますか?

採用された回答

MathWorks Support Team
MathWorks Support Team 2013 年 10 月 25 日
下記例の様に、whos関数に -file オプションを付け、MAT-ファイル名を指定することで、事前に変数一覧を確認することができます。
whos -file MAT-ファイル名
【例】 2変数 x,y を含む test.mat ファイルの変数を確認
>> whos -file test.mat
Name Size Bytes Class Attributes
x 1x100 800 double
y 4x4 16 uint8

その他の回答 (0 件)

カテゴリ

Help Center および File Exchangeワークスペース変数と MAT ファイル についてさらに検索

製品


リリース

R2008b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!