Filter löschen
Filter löschen

How to use the powergui block for fft analysis using .mat file?

4 Ansichten (letzte 30 Tage)
Waqas Ali
Waqas Ali am 18 Aug. 2017
Beantwortet: aakriti gupta am 29 Okt. 2019
I want to use the powergui block for fft analysis.I have set the signals as structures with time in the properties of the scopes and checked the box to saved them into workspace . After running the simulation , I am importing the data from .mat file by using Import Data in the file menu of fft analysis box but the powergui's fft analysis simply does not display anything Can anyone please suggest a solution to this problem, urgently.
  1 Kommentar
Sharan Paramasivam Murugesan
When importing data into Powergui FFT analysis tool, in the dropdown "Input", were you able to select the signals available in the .mat file?

Melden Sie sich an, um zu kommentieren.

Antworten (3)

V Vaishnavi Kumar
V Vaishnavi Kumar am 8 Mär. 2018
In addition to above steps mentioned, set the solver in block parameters of power gui to discrete and set sample time

aakriti gupta
aakriti gupta am 29 Okt. 2019
I am unable to create a fft from mat file. Any links?

Aswani Kumar Eedara
Aswani Kumar Eedara am 24 Sep. 2017
Bearbeitet: Walter Roberson am 24 Sep. 2017
  1. create simulation model with signals in the mat file as inputs
  2. Add POwerGUI block to model
  3. connect scope
  4. double click on the scope
  5. change config properties: tick check box everything under logging, save as structure with time(this will send the data to power GUI block for FFT)
  6. load matfile and then run simulation
  7. launch-->Powergui-->FFT analyis
Note: use solver and timing as in original model

Community Treasure Hunt

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

Start Hunting!

Translated by