How to use the powergui block for fft analysis using .mat file?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Sharan Paramasivam Murugesan
2017년 8월 21일
When importing data into Powergui FFT analysis tool, in the dropdown "Input", were you able to select the signals available in the .mat file?
답변 (3개)
V Vaishnavi Kumar
2018년 3월 8일
In addition to above steps mentioned, set the solver in block parameters of power gui to discrete and set sample time
댓글 수: 0
Aswani Kumar Eedara
2017년 9월 24일
편집: Walter Roberson
2017년 9월 24일
- create simulation model with signals in the mat file as inputs
- Add POwerGUI block to model
- connect scope
- double click on the scope
- 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)
- load matfile and then run simulation
- launch-->Powergui-->FFT analyis
Note: use solver and timing as in original model
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!