📄 yhzappstr.m
字号:
function outstr = yhzappstr(instr,app)
% APPSTR Append string to callback string.
% STR1 = APPSTR(STR,APP) appends the string APP to the string
% STR. If STR has greater than length 0, and no semicolon is
% found in suffix (at the end of STR followed by spaces), a
% comma is appended first.
% Copyright (c) 1988-97 by The MathWorks, Inc.
% $Revision: 1.5 $
% T. Krauss 11/21/94
if length(instr) == 0
outstr = app;
else
ind = length(instr);
sep = ' '; % default separator
while (instr(ind)==' ')
ind = ind-1;
end
if instr(ind)~=';'
sep = ','; % separator
end
outstr = [instr sep app];
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -