Clear Filters
Clear Filters

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

5 views (last 30 days)
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.

Answers (1)

Sabin
Sabin on 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:

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!