tcpip_close.m
来自「A very small 250-line library (written e」· M 代码 · 共 21 行
M
21 行
function tcpip_close(varargin) % tcpip_close(fid) closes a open tcpip connection. No arg.=> Close default.%% fid is file id for the open tcpip connection returned from tcpip_open.% if nargin== 0, tcpipmex(0,-2); % Close current tcpip connection else if strcmp(char(varargin{1}),'all'), tcpipmex(-1,0); %Close all files else tcpipmex(0,varargin{1}); end end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?