Question: why clc is used in matlab?
Answer: clc clears all the text from the Command Window, resulting in a clear screen. ... Use clc in a MATLAB® code file to always display output in the same starting position on the screen.