|||
clear - remove items from workspace, freeing up system memory
% clear a single variable/function a
Syntax: clear a
% clear a list of variables/functions
Syntax: clear a b c d e
% clear everything
Syntax: clear
或者 clear all
clc - CLear Command window, i.e. clears all input and output from the Command Window display. It does not clear any variable or function.
home - moves the cursor to the upper-left conner of the Command Window. It gives more space for display in the Command Window without clear anything.
close - deletes the current figure or specificed figures.
% delete the current figure
Syntax: close
% delete the figure f
Syntax: close f
% delete all non-hidden figures
Syntax: close all
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-10-21 07:24
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社