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