MATLAB添加VOICEBOX工具箱

一、  介紹 

    VOICEBOX: Speech Processing Toolbox for MATLAB

VOICEBOX is a speech processing toolbox consists of MATLAB 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 MATLAB V6.5 or above and require (normally slight) modification to work with earlier versions.

官方主頁:

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命令窗口中輸入命令:

>>cd D:\MATLAB\R2012b\toolbox

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

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

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

或者 

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

4.      檢驗是否成功設置的方法: 

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

which activlev.m(可以爲所加工具箱的任一個M文件名稱),如果顯示正確,就說明上面的設置成功。

>> which activlev.m 

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

注:這種方法貌似每次重啓MATLAB之後都要添加路徑,否則會找不到

方法二:

1. 解壓voicebox.zip,將整個目錄voicebox複製到MATLAB的安裝目錄下:D:\MATLAB\R2012b\toolbox

2. 找到'C:\Program Files\MATLAB\R2009a\toolbox\local\pathdef.m'文件,打開,並把1中的路徑添加到該文件中,保存。


3. 運行 rehash toolboxcache 命令,完成工具箱加載

>>rehash toolboxcache

4.測試:

>> what voicebox

注:這種方法更加穩妥
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章