How to export the FFT analysis data from the FFT Analyzer app in the "powergui" block to the base workspace?

38 ビュー (過去 30 日間)
Is it possible to export the FFT analysis data from the graphical interface of the FFT Analyzer app in the "powergui" block to the base workspace?

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 6 月 23 日
編集済み: MathWorks Support Team 2025 年 6 月 23 日
In MATLAB R2023b, it is not possible to directly export the FFT analysis from the graphical interface opened from the "powergui" block. The workaround is to use command-line tools to obtain the desired data in the base workspace by following the steps below.
1. Get initial default structure:
FFTDATA = power_fftscope(ScopeData);
2. Modify the "FFTDATA" structure to have desired options and settings, for example:
FFTDATA.cycles = 10; FFTDATA.fundamental = 50; FFTDATA.maxFrequency = 500;
3. Update the data structure: 
FFTDATA = power_fftscope(FFTDATA)
The attached files demonstrate this workflow with a known dataset.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStandard File Formats についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by