?? extract.m
字號:
function value = Extract(line, commalimit)
% This function ->
% Extract: Given a line and a integer limit, this program will
% extract the number after the amount of commas prescribed
% in the limit.
i = 1;
commas = 0;
while (commas < commalimit)
if (line(1) == ',')
commas = commas + 1;
end
line = line(2:length(line));
i = i + 1;
end
value = sscanf(line,'%f');
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -