FFT analysis through powergui block is showing empty in signal options.
古いコメントを表示
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 件のコメント
Vasantha Kumar
2019 年 8 月 2 日
I am also facing the same issue with matlab 2019
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.
untick the "Single simulation output"
It worked for me . It will work for you sure.
yuchen yang
2019 年 11 月 26 日
nice bro!
Kumaresan Selvakumar
2019 年 11 月 26 日
Sachu. Thx for ur comments. It worked for me
Runze Hou
2019 年 12 月 9 日
SACHU. Thank you.
NN
2020 年 7 月 13 日
thank you
Anwesha Mukjopadhyay
2020 年 9 月 11 日
thank you
Isaac Ortega Velázquez
2020 年 11 月 3 日
thank you.
Hamza Ehsan
2020 年 11 月 11 日
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
2020 年 11 月 14 日
Thank you, it also worked for me!
Faisal Tariq
2021 年 3 月 22 日
Thank you
it worked
Maria Tariq
2021 年 4 月 28 日
where is signle simulation output
mayank sunhare
2021 年 5 月 21 日
Thank you, it's working.
Woraphat Ekasittiphong
2022 年 4 月 17 日
sry where is the Data Import/Export interface on simulink
Alexander Magnusson
2023 年 1 月 24 日
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
2023 年 6 月 26 日
Thanks... Worked
CHAITANYA
2023 年 11 月 17 日
Thanks @SACHU SEBASTIAN
RANIT SENGUPTA
2023 年 12 月 30 日
Great. It works. Thanks a lot
parvathy ss
2024 年 2 月 28 日
thank you
Shyju
2024 年 4 月 5 日
Thank you Sachu
Steven
2024 年 5 月 1 日
Thanks a lot !
Navin
2024 年 10 月 29 日
thanks a lot
Saqib
2025 年 7 月 3 日
i faced this issue in Matlab 2023b. This solution worked for me. Goto>>Modeling>>Data Import/Export>> uncheck single simulation output
回答 (4 件)
SALAH alatai
2021 年 5 月 31 日
11 投票
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 件のコメント
ali yildiz
2021 年 6 月 21 日
Thank you, it helped me a lot
Vijaya Laxmi
2022 年 5 月 18 日
thank you. it helped me also.
Hari Babu
2022 年 7 月 10 日
Thanks alot. this helped me alot.
Yola Warnita
2022 年 7 月 14 日
what about matlab 2022a?, i can't bring up the fundamentals on fft analysis
Roni
2024 年 7 月 22 日
it worked
Navin
2024 年 10 月 29 日
thanks a lot
Eng.
2023 年 10 月 14 日
2 投票
In response to Mr. Salah's correct solution, I attach his solution steps with pictures. Thank you Mr. Sala

mohammad ebrahimy
2021 年 3 月 15 日
1 投票
the Answer is in the comments of post 👆
in case you didn't see it
Kaashyap Pappu
2019 年 7 月 26 日
0 投票
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.
カテゴリ
ヘルプ センター および File Exchange で Transforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!