use_fcontrol.m

来自「方便初学者学习」· M 代码 · 共 11 行

M
11
字号
a=[1:6];
fid=fopen('six.bin','w');
fwrite(fid,a,'short');
status=fclose(fid);
fid=fopen('six.bin','r');
six=fread(fid,'short');
eof=feof(fid);
frewind(fid);
status=fseek(fid,2,0);
position=ftell(fid);

⌨️ 快捷键说明

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