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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Sabin
Sabin il 1 Feb 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:

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by