Use filters which were created with fdatool in c++

218 Views Asked by At

I created some filters with fdatool in Matlab. Now I want to use this filters in a windows aplication using c++.

I search some libraries to filter in c++, but these libraries has functions which implement filters like chebyshev,etc. But i want use my filters.

How can i do? i know export coefficients in some formats, but how can use this in c++.

Thansk

1

There are 1 best solutions below

0
On

There are two ways that enable you to call Matlab functions (filters in you case) inside C++:

  1. Distribute MATLAB into independent shared library: check out this blog on how to do this (with detail steps and example).

  2. Call MATLAB Engine directly: Refer to another blog for more info.