Matlab compiler c shared library cannot use signal processing toolbox

1 view (last 30 days)
Hello everyone,
I successfully managed to implement a C shared library under a C# application. Everything seemed to work fine ( I can display plot, do fft calculation, ... ).
Lately I tried to use a basic function of the signal processing toolbox: rms. But. When I want to use it in my C# application, it somehow fails ( the Intprt I return is null and the mlf function return false ). Note that if I compile my algorithm without using the rms function, the C# application does not fails ( the IntPtr I return is not null, and the mfl function return true ). Also the function works fine in Matlab.
The compilation is going fine, but not the implementation. Since rms is a line command function, it is supposed to be compiled and to work fine. I checked that the signal processing toolbox was in the path of matlab. I also tried to compile the library by adding directly rmc.m as "files installed with your application". Unfortunately, nothing work.
So... I may have done something wrong, or have misunderstood something. Can somehow please help me to solve it? Note that the problem is not really about the implementation of rms ( I know that re-doing rms myself should not be too muck work.. ), but about the fact the using a function of the signal processing toolbox make my application somehow fails.
Thanks you in advance.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!