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

2 次查看(过去 30 天)
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.

回答(1 个)

Sabin
Sabin 2023-2-1
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:

类别

Help CenterFile Exchange 中查找有关 Electromechanical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by