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.
100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!