frame.m

来自「为了下载东西」· M 代码 · 共 15 行

M
15
字号
%
%  Syntax:  h = frame(strCaption,intCoords,RGBcolor)
%
%  Result:  h is a handle to a new frame, titled strCaption and positioned 
%           at intCoords = [left,bottom,width,height].  The frame's Background-
%           Color property has been set to RGBcolor.
%
%           Petur Snaeland, 01.05.1995.
%
function [hFrame] = frame(strCaption,intCoords,RGBcolor)

hFrame = uicontrol('Style','frame','String',strCaption, ...
                   'Position',intCoords,'BackgroundColor',RGBcolor);
                   

⌨️ 快捷键说明

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