clcClear Command WindowGUI AlternativesAs an alternative to the clc function, select Edit > Clear Command Window in the MATLAB desktop.SyntaxclcDescriptionclc clears all input and output from the Command Window display, giving you a "clean screen."After using clc, you cannot use the scroll bar to see the history of functions, but you still can use the up arrow to recall statements from the command history.ExamplesUse clc in a MATLAB code file to always display output in the same starting position on the screen.簡單的說就是清除螢幕之前打過的程式碼,清屏~
clcClear Command WindowGUI AlternativesAs an alternative to the clc function, select Edit > Clear Command Window in the MATLAB desktop.SyntaxclcDescriptionclc clears all input and output from the Command Window display, giving you a "clean screen."After using clc, you cannot use the scroll bar to see the history of functions, but you still can use the up arrow to recall statements from the command history.ExamplesUse clc in a MATLAB code file to always display output in the same starting position on the screen.簡單的說就是清除螢幕之前打過的程式碼,清屏~