UndefindedFunction error in compiled Console Application regarding Wavelet
显示 更早的评论
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?
回答(2 个)
Wayne King
2012-9-14
Do you get the same problem if you use cwt() instead of cwtext()
cwd = cwt(sig,3,'mexh');
Walter Roberson
2012-9-14
Try adding the pragma
%#function mexihat
类别
在 帮助中心 和 File Exchange 中查找有关 AI for Signals and Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!