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

📄 ft_add_line_to_block.m

📁 用matlab做的Frequency domain INterferomEter Simulation SoftwarE,在国外网站下的,还在研究中,不会用,有会用的回复我
💻 M
字号:
%---------------------------------------------------------------------  % function [block] = FT_add_line_to_block(block,txt_line)% % Add a line of text to a given block.%% block: block structure to which the text should be added% txt_line: string, one line of text, which should be added%% Part of the SimTools package% Andreas Freise 22.05.08 afreise@googlemail.com%---------------------------------------------------------------------  function [block] = FT_add_line_to_block(block,txt_line)  baseid='FT_add_line_to_block';      if (iscell(txt_line))    txt_line=cell2mat(txt_line);  end      if (~isstruct(block))    msgid=[baseid,':checkinarg'];    result='first input argument must be a block structure';    error(msgid,result);  end    if (~isstr(txt_line))    msgid=[baseid,':checkinarg'];    result='second input argument must be a string';    error(msgid,result);  end    bl=length(block);  if (bl>1)    msgid=[baseid,':checksize'];    error(msgid,'first argument must be single FTblock');  end    block.txt_lines=[block.txt_lines,{txt_line}];  block.n_lines=block.n_lines+1;  block.edited=1;  end  

⌨️ 快捷键说明

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