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

38 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 23 de Jun. de 2025
Editada: MathWorks Support Team el 23 de Jun. de 2025
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.

Más respuestas (0)

Categorías

Más información sobre Standard File Formats en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by