The commands "clc" and "clear all" don't work in my script, somentimes yes.
i have matlab 2011 a and b e 2012 a.
No products are associated with this question.
I found that putting too many comments before or after the command "clc" and "clear all" in the script, they do not work.
It happens to someone?
They are not defined to work in the editor.
They work on the command line and when the corresponding script or function is executed
Exactly what is it that you think that "clc" and "clear all" do ?
If someone is requiring that you put in clc and "clear all", such as if you will fail an assignment if you do not put them in, then just go ahead and put in and do not worry about what they do or do not do under any particular circumstances. If someone requires that you put them in, then that person is taking responsibility for any program failure that might result.
If no-one is requiring that you put in clc and "clear all", then eliminate any problems with them by simply not putting them in.
"Doctor, doctor, every time I drink a cup of coffee I get a sharp pain in my nose." "Have you tried taking the spoon out of the cup?"
I was misunderstood in my question or did poorly.