I want to use the powergui block for fft analysis.I am measuring three phase signals using a current measurement block connected to a scope. After running the simulation , the powergui's fft analysis does not display anything and the name and input fields display '-Empty-'. Can anyone please suggest a solution to this problem, urgently.

27 件のコメント

aashish kumar
aashish kumar 2019 年 8 月 8 日
i am also facing the same problem and till now i have not been able to sort it out.
SACHU SEBASTIAN
SACHU SEBASTIAN 2019 年 11 月 13 日
I am using MATLAB 2019a and i also faced this problem. when FFT analysis is done from Powergui The signals are shown as EMPTY .
The reason for this is that, in the Model Configuration Parameters in "Data Import/Export" Section, the option "Single simulation output" has been selected.
  1. go to model configuration parameter and select Data Import/Export.
  2. Untick the Single simulation output and click on Apply.
  3. double tap the scope and go to Logging and select Log data to the workspace and select Structure with Time and click on Apply.
  4. Run the simulation
  5. double tap Powergui and select FFT Analysis.
You will see the magic
PS: It worked for me . It will work for you sure.
Kanchan Jha
Kanchan Jha 2019 年 11 月 26 日
it worked.. thank you so much
Chetan Amminabhavi
Chetan Amminabhavi 2020 年 2 月 14 日
Where to Logging and select Log data to the workspace and select Structure with
SUMIT PATIL
SUMIT PATIL 2020 年 4 月 8 日
It worked! Thanks!
Pamela Jackson
Pamela Jackson 2020 年 4 月 29 日
I do not see any scope or log data to workspace, mine is 2020a version
rakan albaz
rakan albaz 2020 年 8 月 1 日
Same here. I did the "log data to workspace" and "structure with time" in the scope, but it is still showing empty
XIaokeng Shi
XIaokeng Shi 2020 年 11 月 3 日
It worked, I really appriciate it.
Asutosh Dash
Asutosh Dash 2020 年 11 月 25 日
Thank you..sachu sabastian sir
Rakhee R
Rakhee R 2020 年 12 月 4 日
Thank You Sir
Sebastian Krupa
Sebastian Krupa 2020 年 12 月 13 日
Worked for me.
juning zhang
juning zhang 2021 年 1 月 6 日
Thank you. It worked.
NITHYA DEVI S M
NITHYA DEVI S M 2021 年 1 月 25 日
thank you very much
naveed suhail
naveed suhail 2021 年 2 月 17 日
thank you
Aadil Salam
Aadil Salam 2021 年 3 月 7 日
thank you very very much
Yasser Abdelhadi Zerouala
Yasser Abdelhadi Zerouala 2021 年 4 月 6 日
Thank you so much you are the best
syed Khawar Shah
syed Khawar Shah 2021 年 7 月 13 日
Thank you very much. You are a life saver
Ram Kumar Karode
Ram Kumar Karode 2021 年 7 月 25 日
Thank you You saved my time
Felix Kibooli
Felix Kibooli 2021 年 8 月 22 日
Thank you. It did work
Marlon Callacando Guaña
Marlon Callacando Guaña 2021 年 9 月 23 日
Hola, quiero refrescar las señales del powergui como hago?
porque en el analisisi fft me salen señales que ya borre
ayuda
Osborne Grässe
Osborne Grässe 2022 年 5 月 28 日
Thank you so much, SACHU SEBASTIAN!
david ignacio miranda miranda
david ignacio miranda miranda 2022 年 6 月 9 日
thank you you saved my life.
srikaanth mandarapu
srikaanth mandarapu 2022 年 6 月 16 日
Thank you very much sir. It really helped me a lot.
Mustakim
Mustakim 2022 年 8 月 7 日
@Luke Perabo thanks for your solution but didn't worked for me since there was another issue in my Matlab 2020
However my issue was solved as::
Model settings/Data Import Export
then tick the states also select the format as "Structure with time"
you can add this steps in your solution. Thanks
Kaustubh Kasle
Kaustubh Kasle 2022 年 9 月 7 日
hello,
in my case it is selected only a small part of the whole signal ( red coloured ) but i want to do the analysis of the whole signal in the complete time duration.
can someone help??
Mounir Benadja
Mounir Benadja 2022 年 11 月 15 日
Hello,
The Scope must be Configured with Structure With Time.
Thank You.
Shweta
Shweta 2025 年 1 月 12 日
Thank you it worked.

サインインしてコメントする。

 採用された回答

Pradipta Kumar Pal
Pradipta Kumar Pal 2019 年 8 月 16 日

38 投票

Reply from Shishir Dwivedi, IN MathWorks Support <support@mathworks.in>:
I understand that you are not able to view the logged signal names/values in Powergui FFT Analysis tool & are able to view the "Output" signal as defined in the scope block.
The reason for this is that, in the Model Configuration Parameters in "Data Import/Export" Section, the option "Single simulation output" has been selected, this parameter enforces Simulink to return simulation outputs within a single Simulink.SimulationOutput object [As the name is provided as "Out" here, hence all Simulation Outputs are contained in this variable].
If you deselect this option, and Simulate the model, you would be able to see "Output" signal in the MATLAB Workspace and the Powergui FFT Analysis tool will reflect the name/values of Signals as expected.

18 件のコメント

Lei Wang
Lei Wang 2019 年 9 月 29 日
yes,you are right,thanks
Amirali Davoodi
Amirali Davoodi 2019 年 10 月 14 日
Yes, it works. Thank you very much Pradipta.
sovenraj patra
sovenraj patra 2019 年 10 月 21 日
thanks
Kristoffer Michea
Kristoffer Michea 2020 年 5 月 19 日
Thanks!!
AHAMMAD FAHAD N
AHAMMAD FAHAD N 2020 年 6 月 2 日
Thank u very much pradipta sir
Sanjeev Pareek
Sanjeev Pareek 2020 年 7 月 17 日
編集済み: Sanjeev Pareek 2020 年 7 月 17 日
Thanks Pradipta, just to add that the "Data Import/Export" section will be available in "Solver settings".
MATIAS MEDIANO
MATIAS MEDIANO 2020 年 7 月 19 日
Thank you!!!
rakan albaz
rakan albaz 2020 年 8 月 1 日
This worked! Thank you!
Leepapula Moche
Leepapula Moche 2020 年 9 月 21 日
Thank you!
倚天 王
倚天 王 2020 年 10 月 30 日
thank you!!!!!!!!!!
minghan yuang
minghan yuang 2020 年 10 月 31 日
thank you veeery much!!!
hamid shokohi
hamid shokohi 2020 年 12 月 14 日
THANK You!
Radha Garg
Radha Garg 2021 年 4 月 11 日
thanks
Yadvendra Singh Yadav
Yadvendra Singh Yadav 2021 年 10 月 2 日
Thanks.
ilhami pyrz
ilhami pyrz 2022 年 1 月 20 日
thanks.
Yadvendra Singh Yadav
Yadvendra Singh Yadav 2022 年 2 月 3 日
Thank you.
INEL Tech Centre
INEL Tech Centre 2022 年 4 月 14 日
kindly help to resolve this error. what other settings need to be modified?
Muzammil Ahmed
Muzammil Ahmed 2024 年 1 月 7 日
Thank You. It was useful.

サインインしてコメントする。

その他の回答 (6 件)

Swarooph
Swarooph 2016 年 8 月 24 日
編集済み: Swarooph 2016 年 8 月 24 日

4 投票

For the FFT analysis tool to pop up data names, you need to satisfy 2 things:
  1. You should have run the simulation
  2. MATLAB workspace should have a struct variable including time with the results of the simulation. (e.g. you can use the Scope blocks to log data into the workspace, note that this needs to be struct with time)
After you do 1 and 2, you should be able to see the names pop up in the FFT analysis tool. If you don't, try clicking the 'Refresh' button to see if that helps.
Aarti Srivastava
Aarti Srivastava 2018 年 4 月 17 日

2 投票

Make sure to go to the settings of Scope, Scope-> Settings -> History -> Save to workspace -> Name the desired variable -> change the format from 'Array' to 'Structure with Time' and run the program.

In the Powergui, open FFT tool, and select the signal using the name given earlier from the list of Available signals.

3 件のコメント

jorel owona
jorel owona 2018 年 8 月 5 日
Very important to use the 'structure with time'!
thanks a lot!
mohammad norshazwan
mohammad norshazwan 2021 年 12 月 20 日
Thank you! Very useful and helpful for me. Appreciated it so much!
ZHIJUN LI
ZHIJUN LI 2022 年 12 月 4 日
Thank you. it works!

サインインしてコメントする。

V Vaishnavi Kumar
V Vaishnavi Kumar 2018 年 3 月 8 日

0 投票

Observed similar thing. In addition to above steps mentioned, set the solver in block parameters of power gui to discrete and set sample time

2 件のコメント

inayat ali
inayat ali 2022 年 8 月 22 日
I have a problem in matlab 2021a I have done FFT analysis but can not able to either edit the axes or save the result as the window tools bar(like edit , save, saveas etc) are not appear in fft screen So please help me if possible
chagamreddy venkata subba reddy
chagamreddy venkata subba reddy 2022 年 9 月 13 日
i have also same problem. i am unable to open in property editor

サインインしてコメントする。

rajanand patnaik
rajanand patnaik 2018 年 10 月 1 日

0 投票

i want to check FFT analysis using simscape components, but by using powergui its not working can anyone suggest me an idea to check the FFT Will be appreciated.
Thanks

3 件のコメント

rakan albaz
rakan albaz 2020 年 8 月 1 日
Reply from Shishir Dwivedi, IN MathWorks Support <support@mathworks.in>:
I understand that you are not able to view the logged signal names/values in Powergui FFT Analysis tool & are able to view the "Output" signal as defined in the scope block.
The reason for this is that, in the Model Configuration Parameters in "Data Import/Export" Section, the option "Single simulation output" has been selected, this parameter enforces Simulink to return simulation outputs within a single Simulink.SimulationOutput object [As the name is provided as "Out" here, hence all Simulation Outputs are contained in this variable].
If you deselect this option, and Simulate the model, you would be able to see "Output" signal in the MATLAB Workspace and the Powergui FFT Analysis tool will reflect the name/values of Signals as expected.
Sukanta Roy
Sukanta Roy 2022 年 7 月 8 日
Thanks a lot. This is helpful for me, where I was really lost why the dataset is inside that Out simulation output packet, and powergui FFT was having empty list. Thanks again.
Walter Roberson
Walter Roberson 2022 年 12 月 12 日

サインインしてコメントする。

Ameer Hamza Siddiqui
Ameer Hamza Siddiqui 2019 年 5 月 4 日

0 投票

yes this methodis not working

2 件のコメント

rakan albaz
rakan albaz 2020 年 8 月 1 日
Reply from Shishir Dwivedi, IN MathWorks Support <support@mathworks.in>:
I understand that you are not able to view the logged signal names/values in Powergui FFT Analysis tool & are able to view the "Output" signal as defined in the scope block.
The reason for this is that, in the Model Configuration Parameters in "Data Import/Export" Section, the option "Single simulation output" has been selected, this parameter enforces Simulink to return simulation outputs within a single Simulink.SimulationOutput object [As the name is provided as "Out" here, hence all Simulation Outputs are contained in this variable].
If you deselect this option, and Simulate the model, you would be able to see "Output" signal in the MATLAB Workspace and the Powergui FFT Analysis tool will reflect the name/values of Signals as expected.
rajalakshmi D
rajalakshmi D 2021 年 7 月 26 日
Yes . Click the model settings---- Configuration parameters settings in simulink page. Click data import / Export . Deselect single simulation output. Then run the simulation then proceed with power gui

サインインしてコメントする。

zeh essiane Raymond pavelli
zeh essiane Raymond pavelli 2023 年 6 月 9 日

0 投票

I have a question. I want to show in a same Time more than one scope in fft analysis. Hop i can do it ?

製品

Community Treasure Hunt

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

Start Hunting!

Translated by