waveletAnalyzer_Not enough input arguments.

Hello everybody...
I am new in using wavelet toolbox. While I try to use this toolbox, especially in Continuous Wavelet Transform 2-D, this message has always appeared, and the running process becomes stuck... could somebody help me please?
>>waveletAnalyzer
Not enough input arguments.
Error in rats (line 2) plot(t,y,'bo')
Error in cwtfttool2>getAngleSTR (line 1893) tempo = rats(val/pi);
Error in cwtfttool2>showScaleANAL (line 1325) angSTR = getAngleSTR(angles(idxANG));
Error in cwtfttool2>Pus_ANAL_Callback (line 268) showScaleANAL(handles,numSCA,'first');
Error in cwtfttool2>Load_Data_Callback (line 815) Pus_ANAL_Callback(handles.Pus_ANAL,eventdata,handles,param);
Error in cwtfttool2>Men_Example_Callback (line 665) Load_Data_Callback(hObject,eventdata,handles,'demo',optDEM,demoCell,numDEM);
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in cwtfttool2 (line 31) gui_mainfcn(gui_State, varargin{:});
Error while evaluating Menu Callback.
Not enough input arguments.
Error in rats (line 2) plot(t,y,'bo')
Error in cwtfttool2>getAngleSTR (line 1893) tempo = rats(val/pi);
Error in cwtfttool2>showScaleANAL (line 1325) angSTR = getAngleSTR(angles(idxANG));
Error in cwtfttool2>Pus_ANAL_Callback (line 268) showScaleANAL(handles,numSCA,'first');
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in cwtfttool2 (line 31) gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)cwtfttool2('Pus_ANAL_Callback',hObject,eventdata,guidata(hObject)) Error while evaluating UIControl Callback.

2 Comments

@joko sampurno: please show the output of these commands:
which rats -all
which plot -all
>> which rats -all
C:\Users\ASUS\Documents\MATLAB\rats.m
C:\Program Files\MATLAB\R2017b\toolbox\matlab\specfun\rats.m % Shadowed
>> which plot -all
built-in (C:\Program Files\MATLAB\R2017b\toolbox\matlab\graph2d\plot)
C:\Program Files\MATLAB\R2017b\toolbox\matlab\polyfun\@polyshape\plot.m % polyshape method
C:\Program Files\MATLAB\R2017b\toolbox\matlab\polyfun\@alphaShape\plot.m % alphaShape method
C:\Program Files\MATLAB\R2017b\toolbox\matlab\bigdata\@tall\plot.m % tall method
C:\Program Files\MATLAB\R2017b\toolbox\matlab\graphfun\@graph\plot.m % graph method
C:\Program Files\MATLAB\R2017b\toolbox\matlab\graphfun\@digraph\plot.m % digraph method
C:\Program Files\MATLAB\R2017b\toolbox\signal\signal\@dspdata\plot.m % dspdata method
C:\Program Files\MATLAB\R2017b\toolbox\stats\classreg\@LinearModel\plot.m % LinearModel method
C:\Program Files\MATLAB\R2017b\toolbox\matlab\timeseries\@timeseries\plot.m % timeseries method
C:\Program Files\MATLAB\R2017b\toolbox\wavelet\wavelet\@wdectree\plot.m % wdectree method
C:\Program Files\MATLAB\R2017b\toolbox\wavelet\wavelet\@ntree\plot.m % ntree method
C:\Program Files\MATLAB\R2017b\toolbox\wavelet\wavelet\@dtree\plot.m % dtree method
C:\Program Files\MATLAB\R2017b\toolbox\wavelet\wavedemo\@wvtree\plot.m % wvtree method
C:\Program Files\MATLAB\R2017b\toolbox\wavelet\wavedemo\@rwvtree\plot.m % rwvtree method
C:\Program Files\MATLAB\R2017b\toolbox\wavelet\wavedemo\@edwttree\plot.m % edwttree method

Sign in to comment.

 Accepted Answer

Stephen23
Stephen23 on 25 Feb 2018
Edited: Stephen23 on 25 Feb 2018
These clearly show that you have shadowed rats with a file in your user directories:
C:\Users\ASUS\Documents\MATLAB\rats.m % <--- this is the problem!
C:\Program Files\MATLAB\R2017b\toolbox\matlab\specfun\rats.m % Shadowed
You will need to rename the file C:\Users\ASUS\Documents\MATLAB\rats.m into something else or remove that directory from the MATLAB Search Path.

More Answers (0)

Categories

Find more on Discrete Multiresolution Analysis 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!