Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Ameer Hamza
Ameer Hamza le 29 Oct 2020
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

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by