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

Illustration
Sebastian - 2020-09-21T09:54:16+00:00
Question: Why am I unable to use the Auto Correlator block in Simulink?

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 answered . 2025-11-20

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.


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!