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

조회 수: 2 (최근 30일)
shahnaz fatima
shahnaz fatima 2023년 9월 7일
답변: KSSV 2023년 9월 7일
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.

답변 (1개)

KSSV
KSSV 2023년 9월 7일
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.

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by