7. 부록(1)[The elasticity of alpha-helix, pi-helix]
dcd function function h = read_dcdheader(filename) % new_handle = read_dcdheader(filename) fid = fopen(filename, 'r', 'b'); i = fread(fid, 1, 'int32'); if i ~= 84 % wrong endianism; try again fclose(fid); fid = fopen(filename, 'r', 'l'); i = fread(fid, 1, 'int32'); if i ~= 84 fclose(fid); end end h.fid = fid; % % Figure out how big the file is % fseek(fid,0,1); h.endoffile = ftell(fid); fseek(fi..
2021. 11. 3.