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

📄 yhzappstr.m

📁 信号实验常用的simulink模型和mfile,可直接在matlan下运行。
💻 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 + -