Converting EMD (Empirical mode decomposition) fuction from matlab toolbox to c language
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ferchichi Mariem
am 16 Mär. 2021
Beantwortet: Darshan Ramakant Bhat
am 16 Mär. 2021
Hello,
I'm using the EMD (Empirical mode decomposition) Matlab function in PPG signal processing. I'm searching for a way to convert this function to C language.
the MATLAB C coder shows the error message " MATLAB built-in functions and toolbox functions cannot be used as entry-point in MATLAB coder". is there any method to extract the EMD function in C language.
Machine: Windows,
Version: Matlab 2018a
Any help is appreciated.
Thanks
0 Kommentare
Akzeptierte Antwort
Darshan Ramakant Bhat
am 16 Mär. 2021
In MATLAB Coder you cannot directy generate code from built-in functions.
Please create a wrapper function which uses the built-in function. For example :
function [imf,residual] = emd_wrapper(x)
% Use the built-in function
[imf,residual] = emd(x);
end
Hope this will be helpful for you.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu FPGA, ASIC, and SoC Development finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!