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_dbl.c'};
def.HeaderFiles = {'ec_dbl.h'};
def.SFunctionName = 'ex_sfun_myec_dbl'; 
def.InitializeConditionsFcnSpec = 'void clear_states(void)';
def.OutputFcnSpec = 'void myec(double u1[80], double u2[80], double y1[80], double y2[32])';
legacy_code('sfcn_cmex_generate', def); % generated c code
legacy_code('compile',def,'-g');  % for debugging
legacy_code('slblock_generate', def,'myec_dbl'); 
legacy_code('sfcn_tlc_generate', def);

Contact us