How to extract data from .mat files

1 view (last 30 days)
FG
FG on 3 Sep 2020
Commented: FG on 6 Sep 2020
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
FG
FG on 3 Sep 2020
Could you help me about it ?

Sign in to comment.

Answers (1)

Nikita Agrawal
Nikita Agrawal on 3 Sep 2020
You could use
load('XYZ.mat')
Does this help?
  2 Comments
Rik
Rik on 3 Sep 2020
You should use this instead:
S=load('XYZ.mat');

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!