📄 display_text.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -