tcpip_sendvar.m

来自「A very small 250-line library (written e」· M 代码 · 共 20 行

M
20
字号
function ret=tcpip_sendvar(ip_fid,varargin)%%  ret = tcpip_sendvar(ip_fid,var)%%  ip_fid    File id for tcpip channel.%  var       Variable to send%  ret       Return value.%% Get a file over network with tcpip.% Using a own protocol for this system.% se tcpip_sendfile()    ret=0;    VARS=varargin;  name=[tempname,'.mat'];  save(name,'VARS');  tcpip_sendfile(ip_fid,name);  delete(name);

⌨️ 快捷键说明

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