How to get the doFFt plots in Simulink

4 views (last 30 days)
Joshua Dudley
Joshua Dudley on 21 Feb 2022
Commented: Arthur Reis on 24 Feb 2022
Error evaluating 'StopFcn' callback of block_diagram 'spectral_purity'. Callback string is 'doFFTplot(fs, fs_over_4, 'NCO output', 1, 2, 'hann'); set(2,'Name','FFT Plot of NCO Output','NumberTitle','off'); setStandardFigSize(2); '
Caused by:
  • Undefined function 'doFFTplot' for input arguments of type 'double'.
How do I resolve the fft plots problem in Simulink

Answers (1)

Arthur Reis
Arthur Reis on 21 Feb 2022
I couldn't find any reference to doFFTplot in Matlab/Simulink documentation. Is this code that you wrote or obtained from another person?

Products

Community Treasure Hunt

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

Start Hunting!