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 Kommentare

Rik
Rik am 3 Sep. 2020
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 am 3 Sep. 2020
Could you help me about it ?
Adam Danz
Adam Danz am 3 Sep. 2020
There are lots of expamples and descriptions here

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Nikita Agrawal
Nikita Agrawal am 3 Sep. 2020

0 Stimmen

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

2 Kommentare

You should use this instead:
S=load('XYZ.mat');
FG
FG am 6 Sep. 2020
Thnx all..

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Gefragt:

FG
am 3 Sep. 2020

Kommentiert:

FG
am 6 Sep. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by