?? load_mut.m
字號:
function mutinfo = load_mut(fname)% LOAD_MUT - loads mutation information from file% load_mut('fname') returns the mutation information saved in the% file 'fname'. index=1;fid=fopen(fname);fgetl(fid);fgetl(fid);while ~feof(fid) str=fgetl(fid); mutinfo(index).name=str(7:end); str=fgetl(fid); if length(str)==8 mutinfo(index).mut_lim=[]; else mutinfo(index).mut_lim=sscanf(str(8:end),'%g'); end str=fgetl(fid); mutinfo(index).pc=sscanf(str(4:end),'%g'); str=fgetl(fid); mutinfo(index).trans=sscanf(str(13:end),'%g'); if mutinfo(index).trans==0 mutinfo(index).trans=[]; end str=fgetl(fid); mutinfo(index).relive=sscanf(str(8:end),'%g'); fgetl(fid); index=index+1; endfclose(fid);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -