formant_save.m

来自「这是一个用于语音信号处理的工具箱」· M 代码 · 共 21 行

M
21
字号
%Callback function for the save button in the formant synthesis window
% Author Karthik 2/98
%Saves the formant file in MAT format only.  Since the formants are multi dimensional
%arrays, the ascii format is not suited to save these variables.  However, if the
%user wants to he may change the program to save the variables in ascii format.

cwd=pwd;
[fname pathname]=uiputfile('*.mat','Save file (Matlab)');
S=sprintf('cd %s',cwd);
eval(S);

if fname ~= 0
   S=sprintf('Saving data into %s (MAT format)',fname);
   disp(S);
   S=sprintf('save %s%s Ff1 Fb1',pathname,fname);
   eval(S);
else
   fname='temp';
   pathname='.';
end

⌨️ 快捷键说明

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