opening and viewing mat file having different snapshots /class : structure

2 vues (au cours des 30 derniers jours)
shahnaz fatima
shahnaz fatima le 7 Sep 2023
Réponse apportée : KSSV le 7 Sep 2023
i am working on NYUsim open source software which is in matlab. when i run the software, i am no table to view the output values generated as it is of class structure with 40 snapshots.
how to view each snapshot and how to work/ access them. i want to averaging etc of some values taking from each snapshot.

Réponses (1)

KSSV
KSSV le 7 Sep 2023
Read about matfile.
S = matfile('myfile.mat') ;
You can access the variables of the matfile from S. If you want more specific help you may attach your matfile.

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by