FFT analysis through powergui block is showing empty in signal options.
Afficher commentaires plus anciens
Hi all,
I have to obtain the fft bar plot of the 5 level stepped sinusoidal wave which is the output of the 5 level cascaded multilevel inverter. I have changed the scope settings also to loggin>struct with time. I have tried changing the powergui to discrete as well with different time steps. Still i am not able to view anything in the FFT bar plot. Can anyone suggest any remedy for it or is there any setting problem in my MATLAB. I'm using MATLAB 2019 version.
23 commentaires
Vasantha Kumar
le 2 Août 2019
I am also facing the same issue with matlab 2019
SACHU SEBASTIAN
le 13 Nov 2019
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.
untick the "Single simulation output"
It worked for me . It will work for you sure.
yuchen yang
le 26 Nov 2019
nice bro!
Kumaresan Selvakumar
le 26 Nov 2019
Sachu. Thx for ur comments. It worked for me
Runze Hou
le 9 Déc 2019
SACHU. Thank you.
NN
le 13 Juil 2020
thank you
Anwesha Mukjopadhyay
le 11 Sep 2020
thank you
Isaac Ortega Velázquez
le 3 Nov 2020
thank you.
Hamza Ehsan
le 11 Nov 2020
i am using matlab2019b and i am tired of changing discrete value of powergui but FFT analysis since showing empty results. I have also changed Configuration Parameters in "Data Import/Export" Section, the option "Single simulation output" to unselected but nothing showing. Your help will be appericiated.
Mondjé N'DORI
le 14 Nov 2020
Thank you, it also worked for me!
Faisal Tariq
le 22 Mar 2021
Thank you
it worked
Maria Tariq
le 28 Avr 2021
where is signle simulation output
mayank sunhare
le 21 Mai 2021
Thank you, it's working.
Woraphat Ekasittiphong
le 17 Avr 2022
sry where is the Data Import/Export interface on simulink
Alexander Magnusson
le 24 Jan 2023
Thanks!
The Data Import/Export is located at Simulation -> Prepare -> configure logging. It's just a bit to the left of the run button hidden under a drop down
Ahmet
le 26 Juin 2023
Thanks... Worked
CHAITANYA
le 17 Nov 2023
Thanks @SACHU SEBASTIAN
RANIT SENGUPTA
le 30 Déc 2023
Great. It works. Thanks a lot
parvathy ss
le 28 Fév 2024
thank you
Shyju
le 5 Avr 2024
Thank you Sachu
Steven
le 1 Mai 2024
Thanks a lot !
Navin
le 29 Oct 2024
thanks a lot
Saqib
le 3 Juil 2025
i faced this issue in Matlab 2023b. This solution worked for me. Goto>>Modeling>>Data Import/Export>> uncheck single simulation output
Réponses (4)
SALAH alatai
le 31 Mai 2021
10 votes
Go to model configuration parameters in "Data Import/Export" Section, you will find the option "Single simulation output" has been selected. remove the tick on single simulation output".
6 commentaires
ali yildiz
le 21 Juin 2021
Thank you, it helped me a lot
Vijaya Laxmi
le 18 Mai 2022
thank you. it helped me also.
Hari Babu
le 10 Juil 2022
Thanks alot. this helped me alot.
Yola Warnita
le 14 Juil 2022
what about matlab 2022a?, i can't bring up the fundamentals on fft analysis
Roni
le 22 Juil 2024
it worked
Navin
le 29 Oct 2024
thanks a lot
Eng.
le 14 Oct 2023
2 votes
In response to Mr. Salah's correct solution, I attach his solution steps with pictures. Thank you Mr. Sala

1 commentaire
Sri harshitha
le 24 Jan 2024
Thanks a lot
mohammad ebrahimy
le 15 Mar 2021
1 vote
the Answer is in the comments of post 👆
in case you didn't see it
Kaashyap Pappu
le 26 Juil 2019
0 votes
Hi,
Given that I have been unable to reproduce this issue, a possible workaround I have identified would be to connect the output of the “PS-Simulink Converter” to the “Scope”, check “Log Data to workspace” under the Logging tab and select “Save format” as an Array.
Run the model, and the logged data would appear as an array with 2 columns. Using the “fft” function and “bar” function, calculate the Fourier transform on the second column of the logged variable and obtain the bar plot. If the variable name is ScopedData, the second column can be accessed using ScopedData(:,2).
Use the “abs” function to obtain the magnitude of FFT. Note that "fft" returns a 2-sided spectrum.
Hope this helps.
Catégories
En savoir plus sur Transforms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!