Loading and accessing the variables, fields and its data into the script from a mat file

1 回表示 (過去 30 日間)
Hello All,
I would like to load the mat file and access the fields ( multiple fields) and its data into a script.
Can you please guide me?
Thanks

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 10 月 29 日
For example, you can access the "Type" variable like this
XETK.Y(1).Type; % acess value of type in first row
XETK.Y(2).Type; % acess value of type in second row
..
..
XETK.Y(end).Type; % acess value of type in last row

その他の回答 (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