How can I save a simulink waveform to a workspace and perform a FFT on matlab.

2 visualizaciones (últimos 30 días)
Good day, I am Olando Fraser a year 3 Electrical and Computer Engineering student at the Univeristy of the West Indies, St Augustine Campus. I am using the simulink software for my final year project and I need some assistance. I am simulating a BLDC motor but I need to run a FFT on the waveform in matlab. How can i save the simulink waveform in some data file to perform the FFT in matlab??. Please help.

Respuestas (1)

Sabin
Sabin el 1 de Feb. de 2023
There are various ways to export simulation data from a Simulink model:
After exporting the data it is possible to use the fft function in MATLAB:

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by