How to make Wavelet Toolbox work correctly?

I have MatLab 2014a in my Laptop and i am running some codes that use Wavelet Toolbox (I checked the toolbox and I found the Wavelet Toolbox is there) and I got the error below.
Undefined function 'dwt2' for input arguments of type 'double'.
even when trying to run the internal example below, I got the same error.
load woman; wname = 'sym4'; [CA,CH,CV,CD] = dwt2(X,wname,'mode','per');

8 个评论

Ahmed - in the Command Window type
which dwt2 -all
Since I don't have the Wavelet Toolbox, I see
'dwt2' not found.
What result is returned for you?
Thanks Geoff I got the following
C:\Program Files\MATLAB\R2014a\toolbox\wavelet\wavelet\dwt2.m % Has no license available
What is that mean?
It means that you have the file/function to run the example, but you no longer have a license (?). But this shouldn't prevent you from working through the example. Try the following
clear all;
load woman;
What are the variables in the workspace? Just type
whos
What is X (which should be loaded from the woman file). Also, try
doc dwt2
and/or
help dwt2
Do both of these commands (for documentation and/or help) return something?
I did both of them and they gave me the dwt2 help.
So after you call load woman, what does whos show you?
I got this answer
Name Size Bytes Class Attributes
X 256x256 524288 double
map 255x3 6120 double
Perhaps you can't use this functionality once the license expires. Did you download a trial version of this toolbox, or did you purchase a license for it?
Yes, you are right the License is expired and I did update to mine and it is working right now very well. Thank you very much for your time Best regards

请先登录,再进行评论。

回答(1 个)

Executing the statement
which dwt2 -all
returned
C:\Program Files\MATLAB\R2014a\toolbox\wavelet\wavelet\dwt2.m % Has no license available
Ahmed verified that the license had expired and updated it. The code in the toolbox is now working.

类别

在 帮助中心 和 File Exchange 中查找有关 Wavelet Toolbox 的更多信息

标签

提问:

2014-10-15

Community Treasure Hunt

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

Start Hunting!

Translated by