display_text.m

来自「matlab处理图像的一些基本方法。其中有一部分mex程序需要安装编译」· M 代码 · 共 40 行

M
40
字号
function display_text(S, name, pos)%DISPLAY_TEXT - Display a scrolling text window.%%	DISPLAY_TEXT(S, NAME, POS)%%		inputs:%			S%			NAME - 	the title of the text window%			POS - 	the position of the text window%%% Copyright (c) 1995 by Claudio Rivetti and Mark Young% claudio@alice.uoregon.edu,    mark@alice.uoregon.edu%global Uibgcolorfig_ed=figure('position', pos, 'Name', name, 'color', Uibgcolor, 'NumberTitle', 'off');scr_ed=scrledit('init',[0 0.2 0.97 .8], S);uicontrol('style', 'frame',...                'units', 'normalized',...                'pos', [0.03 0.03 0.94 0.14],...                'background', Uibgcolor);okb=uicontrol('style', 'push',...                'units', 'normalized',...                'pos', [0.45 0.06 0.1 0.06],...                'horiz', 'center',...                'string', 'Ok',...                'Callback', 'close(gcf);');return

⌨️ 快捷键说明

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