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 Comments

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.
Could you help me about it ?
There are lots of expamples and descriptions here

Sign in to comment.

Answers (1)

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

2 Comments

You should use this instead:
S=load('XYZ.mat');
Thnx all..

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2020a

Asked:

FG
on 3 Sep 2020

Commented:

FG
on 6 Sep 2020

Community Treasure Hunt

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

Start Hunting!