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
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
Related simulink Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →