statmsg.m

来自「模糊控制工具箱,很好用的,有相应的说明文件,希望对大家有用!」· M 代码 · 共 12 行

M
12
字号
function statmsg(figNumber,msgStr)
%STATMSG Send message to GUI status field.
%   STATMSG(figNumber,msgStr) causes the message contained in msgStr
%   to be passed to the status line (a text uicontrol field with the
%   Tag property set to "status") of the specified figure. 

%   Ned Gulley, 4-27-94
%   Copyright 1994-2002 The MathWorks, Inc. 
%   $Revision: 1.13 $  $Date: 2002/04/14 22:20:59 $

set(findobj(figNumber,'Type','uicontrol','Tag','status'),'String',msgStr);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?