How to extract data from .mat files

Hi all.. I have simulated an xls file and ran it through the editor. As a result I have many cases consisting of 200 .mat files. I want to extract a specific data (e.g. 5th harmonic voltage) from each case with the help of the editor. Could anyone help me on doing it ? Thnx

댓글 수: 3

Rik
Rik 2020년 9월 3일
Your data description is a bit confusing, but if you store the output of load to a variable you should be able to do this with a simple loop.
FG
FG 2020년 9월 3일
Could you help me about it ?
Adam Danz
Adam Danz 2020년 9월 3일
There are lots of expamples and descriptions here

댓글을 달려면 로그인하십시오.

답변 (1개)

Nikita Agrawal
Nikita Agrawal 2020년 9월 3일

0 개 추천

You could use
load('XYZ.mat')
Does this help?

댓글 수: 2

You should use this instead:
S=load('XYZ.mat');
FG
FG 2020년 9월 6일
Thnx all..

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

FG
2020년 9월 3일

댓글:

FG
2020년 9월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by