📄 tcpip_readln.m
字号:
function str=tcpip_readln(fid,len) % str=tcpip_readln(fid,len)%% fid is file id.% len is maximum length to be read.%% Reads a line of charters terminated by newline character (LF).% If the a full line (until LF) isn available at the% moment a empty string will be returned.% CR and LF characters will not be returned in the string.% str=tcpipmex(4,fid,len); if(length(str)) str=str(find(str~=10 & str~=13)); % Remove all 10 & 13 end return;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -