This set of models and word documents show an echo canceller development workflow.
% Echo Cancellation Data Specification
% This file is connected to the Simulink model through
% File/Model Properties/Callbacks/PreLoadFcn
% Copyright 2008 The MathWorks, Inc.
% Model parameters
load sm_filt; % spkr_to_mic_filter coefficients
sm_length = length(spkr_to_mic_filter); % variable from sm_filt mat file
spkr_to_mic_delay = spkr_to_mic_delay; % also part of sm_file file
pic_frame_size = 80;
Fs = 8000;
Ts = 1/Fs;