⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 label.m

📁 为了下载东西
💻 M
字号:
%
%  Syntax:  h = label(strText,intCoords,RGBcolor)
%
%  Result:  h is a handle to a new text label that contains the text in strText and
%           is positioned at intCoords = [left,bottom,width,height].  The label's
%           BackgroundColor property has been set to RGBcolor.
%
%           Petur Snaeland, 25.04.1995.
%
function [hLabel] = label(strText,intCoords,RGBcolor);

hLabel = uicontrol('Style','text','Position',intCoords,...
                   'BackgroundColor',RGBcolor,'HorizontalAlignment','left',...
                   'String',strText);
%if (nargout==0), 
%   set(hLabel,'HandleVisibility','off');
%end;

⌨️ 快捷键说明

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