
MATLAB中clc是什么意思
6个回答
展开全部
是清理命令行的意思。
例:
a=zeros(56)
pause
clc
disp('已经清理干净了')
MATLAB中类似的命令:
1、clear
%清理工作区变量
2、clf
%清理图窗的图形
3、close
%关闭图形窗口
4、close all
%关闭所有图形窗口
扩展资料
clc命令和clear命令的用法:
1、clc命令
清空历史窗口中的内容,但是其变量都不会消失
2、clear命令
是清空当前工作空间中的全部变量。
clear 变量名1 变量名2 ...; 清空当前工作空间中的某些变量;
clearvars -except 变量名1 变量名2 ...; 清空当前工作空间中除某些变量之外的全部变量;
clear a* ; 按某些命名规则清空某些变量。
展开全部
clc
Clear Command Window
GUI Alternatives
As an alternative to the clc function, select Edit > Clear Command Window in the MATLAB desktop.
Syntax
clc
Description
clc 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.
Examples
Use clc in a MATLAB code file to always display output in the same starting position on the screen.
简单的说就是清除屏幕之前打过的代码,清屏~
Clear Command Window
GUI Alternatives
As an alternative to the clc function, select Edit > Clear Command Window in the MATLAB desktop.
Syntax
clc
Description
clc 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.
Examples
Use clc in a MATLAB code file to always display output in the same starting position on the screen.
简单的说就是清除屏幕之前打过的代码,清屏~
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
%这个是添加注释的意思,你这个程序后面添加这个没什么用,后面都没什么注释,可以不要
也就是个快速傅里叶变换的
程序运行结果
也就是个快速傅里叶变换的
程序运行结果
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
清空命令窗口的所有输入和输出,类似于清屏。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
清屏,将输出界面清空
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询