Why am I unable to use the Auto Correlator block in Simulink?

S
Sebastian · Sep 21, 2020 · 2K views
Question
When using the Auto Correlator block from the "Simulink Extras -> Additional Sinks" sublibrary, I receive the following error: Error in 'mysys/Auto Correlator/sfuncorr' while executing MATLAB file S-function 'sfuncorr', flag = 2 (update), at time 4.800000000000001. MATLAB error message: Undefined command/function 'xcorr'. The documentation does not mention any requirements that I need to have to run this block in my Simulink model.
Expert Answer
Profile picture of John Michell
John Michell PhD Expert
Answered Aug 24, 2026
The Simulink documentation on the Auto Correlator block is not complete.
The Auto Correlator block in "Simulink extras" sublibrary requires a full installation of the Signal Processing Toolbox to run.
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!