ft_print_block.m

来自「用matlab做的Frequency domain INterferomEter」· M 代码 · 共 31 行

M
31
字号
%---------------------------------------------------------------------  % function [] = FT_print_block(blocks, name)% % Print one block from a list, given by the block name.%% blocks: vector of blocks% name: name or index of block to be printed%% Part of the SimTools package% Andreas Freise 22.05.08 afreise@googlemail.com%---------------------------------------------------------------------   function [] = FT_print_block(blocks, name)  % base string for error message id  baseid='FT_print_block';  if (isstr(name))    index=FT_index_of_block(blocks,name);  else     if (isnumeric(name))      index=name;    else      msgid=[baseid,':checkinarg'];      result='could not find block name or index';      error(msgid,result);    end  end  outblock=blocks(index);  disp(outblock.txt_lines(:));

⌨️ 快捷键说明

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