0

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

herohuyongtao
  • 49,413
  • 29
  • 133
  • 174
Telo Pena Barreiro
  • 277
  • 1
  • 6
  • 15

1 Answers1

0

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.

herohuyongtao
  • 49,413
  • 29
  • 133
  • 174