Code covered by the BSD License  

Highlights from
Echo Canceller Workbook targeting a dsPIC

image thumbnail

Echo Canceller Workbook targeting a dsPIC


Kerry Schutz (view profile)


22 Jan 2008 (Updated )

This set of models and word documents show an echo canceller development workflow.

%   Copyright 2008 The MathWorks, Inc.
def = legacy_code('initialize')
def.SourceFiles = {'ec.c'};
def.HeaderFiles = {'ec.h'};
def.SFunctionName = 'ex_sfun_myec'; 
def.InitializeConditionsFcnSpec = 'void clear_states(void)';
def.OutputFcnSpec = 'void myec(int16 u1[80], int16 u2[80], int16 u3, int16 u4, int16 u5, int16 y1[80], int16 y2[32])';
legacy_code('sfcn_cmex_generate', def); % generated c code
legacy_code('compile',def,'-g');  % for debugging
legacy_code('slblock_generate', def,'myec'); 
legacy_code('sfcn_tlc_generate', def);

Contact us