STRJOIN pop-up error when using CLEAR command

1 view (last 30 days)
Hi all,
I receive this error for no reasons. It just pop-up especially when I use command CLEAR. Is there any bug. Appreciate your assistance as this is very annoying.
Cheers K.

Answers (1)

Walter Roberson
Walter Roberson on 9 Oct 2015
What do you see when you use
which -all clear
You should expect something similar to
built-in (/Applications/MATLAB_R2014a.app/toolbox/matlab/general/clear)
clear is a Java method % java.util.ArrayList method
clear is a Java method % java.util.AbstractList method
clear is a Java method % java.util.AbstractCollection method
clear is a Java method % java.util.Collection method
clear is a Java method % java.util.List method
You should consider using the debugger:
dbstop if caught error
and then asking to clear. When the error is triggered from within strjoin, use
dbstack
to see the sequence of calls. You will probably find that you have a routine of your own named the same thing as one of the MATLAB routines.

Community Treasure Hunt

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

Start Hunting!