UndefindedFunction error in compiled Console Application regarding Wavelet
Afficher commentaires plus anciens
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?
Réponses (2)
Wayne King
le 14 Sep 2012
Do you get the same problem if you use cwt() instead of cwtext()
cwd = cwt(sig,3,'mexh');
Walter Roberson
le 14 Sep 2012
Try adding the pragma
%#function mexihat
Catégories
En savoir plus sur AI for Signals and Images dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!