if we clear command window matlab code example
Example: how to clear matlab command window
clc //clear command window
clear //clears all variables from current workspace
close all //closes all figures
clc //clear command window
clear //clears all variables from current workspace
close all //closes all figures