UndefindedFunction error in compiled Console Application regarding Wavelet
Show older comments
After creating a Console Application with DeployTool, an error occurs when running the app.The function is cwtext from the Wavelet Toolbox and the call is
cwd = cwtext(sig,3,'mexh')
This is working fine in Matlab but in the console I get an error from wavefun(called by cwtext):
Undefined function 'mexihat' for input arguments of type 'double'
The wavelet name shouldn't change in any case and when using eg. 'sym6', there's no problem. Could this be due to incompatibility with the Compiler and cwtext?
Answers (2)
Wayne King
on 14 Sep 2012
Do you get the same problem if you use cwt() instead of cwtext()
cwd = cwt(sig,3,'mexh');
Walter Roberson
on 14 Sep 2012
Try adding the pragma
%#function mexihat
Categories
Find more on AI for Signals and Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!