MATLAB添加VOICEBOX工具箱

一、介绍

VOICEBOX: Speech Processing Toolbox forMATLAB

VOICEBOX is a speech processing toolbox consists ofMATLAB routines that are maintained by and mostly written by Mike Brookes,Department of Electrical & Electronic Engineering, Imperial College,Exhibition Road, London SW7 2BT, UK. Several of the routines require MATLABV6.5 or above and require (normally slight) modification to work with earlierversions.

官方主页:

http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.html

官方下载:

http://www.ee.ic.ac.uk/hp/staff/dmb/voicebox/voicebox.zip

二、MATLAB添加VOICEBOX工具箱

方法一:

1. 解压voicebox.zip,将整个目录voicebox复制到MATLAB的安装目录下:

D:\MATLAB\R2012b\toolbox

2. 打开MATLAB,在MATLAB命令窗口中输入命令:

>>cdD:\MATLAB\R2012b\toolbox

3. 将TOOLBOX下新加的voicebox工具箱加到MATLAB的搜索路径中去。  

添加voicebox工具箱的MATLAB的搜索路径也可采用如下指令

>>addpath(genpath(' D:\MATLAB\R2012b\toolbox\voicebox'))

或者 

>>path('D:\MATLAB\R2012b\toolbox\voicebox',path)

4. 检验是否成功设置的方法: 

在命令窗口中输入以下命令:

whichactivlev.m(可以为所加工具箱的任一个M文件名称),如果显示正确,就说明上面的设置成功。

>>which activlev.m 

D:\MATLAB\R2012b\toolbox\voicebox\activlev.m

注:这种方法貌似每次重启MATLAB之后都要添加路径,否则会找不到

方法二:

1. 解压voicebox.zip,将整个目录voicebox复制到MATLAB的安装目录下:

D:\MATLAB\R2012b\toolbox

2. 找到'C:\ProgramFiles\MATLAB\R2009a\toolbox\local\pathdef.m'文件,打开,并把1中的路径添加到该文件中,保存。

MATLAB添加VOICEBOX工具箱_第1张图片

3. 运行rehash toolboxcache 命令,完成工具箱加载

>>rehashtoolboxcache

4. 测试:

>>whatvoicebox

MATLAB添加VOICEBOX工具箱_第2张图片


你可能感兴趣的:(matlab,语音处理,VOICEBOX)