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.
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 →