getrec.m
来自「语音处理平台 可以分析语音能量 第一振峰频率等数据」· M 代码 · 共 25 行
M
25 行
function getrec
% Copyright (c) 1995 Philipos C. Loizou
%
fp= fopen('sndcard.cfg','r');
if fp<0
errordlg('Could not find souncard config file: sndcard.cfg. If this file does not exist, then create it and put the name of the record utility program','GETREC');
else
snd = fscanf(fp,'%s');
fclose(fp);
if ~isempty(snd)
exe=['!' snd];
eval(exe);
else
str=sprintf('Could not find record utility: %s',snd);
errordlg(str,'GETREC');
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?