📄 录音.m
字号:
button = questdlg('准备录音?', ...
'Exit Dialog','录音','播放','特征分析','训练','测试','识别结果','停止','No');
switch button
case '录音'
y=wavrecord(11025*3,11025);
[x1 x2]=vad(y);
plot(y(x1*80:x2*80+176,:));
save
case '停止'
quit cancel
end
pos = [10 10 100 10];
h = uicontrol('Style','Text','Position',pos);
string = {'This is a string for the uicontrol.',
'It should be correctly wrapped inside.'};
[outstring,newpos] = textwrap(h,string);
pos(4) = newpos(4);
set(h,'String',outstring,'Position',[pos(1),pos(2),pos(3)+10,pos(4)])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -