How to design a lowpass filter from Visual C++ using C shared library dll

4 views (last 30 days)
I have to call the following code from Visual C++
function z=lpf(x,n,fc,s)
hl = fdesign.lowpass('N,Fc', n, fc, s);
Hdl = design(hl, 'butter');
z=filter(Hdl,x);
Function name in header file is
mlfLpf(int nargout, mxArray** z, mxArray* x
, mxArray* n, mxArray* fc, mxArray* s);
What are necessary steps to call this function successfully

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!