Forum: help
Monitor Forum | Start New ThreadRE: Ugh!! [ Reply ] By: RĂ©mi Gribonval on 2008-08-04 13:39 | [forum:98262] |
Thanks for this message which pointed out a remaining bug in the Matlab interface to MPTK. The GenerDict.m script from Mat2MPTK generates dictionary description files in an old format not compatible with the latest version of MPTK. We will fix this as soon as possible, but meanwhile you can try the new suite of MEX utilities, including dictcreate_gui : to create a valid dictionary file using a graphical interface GettingStarted.m : to guide you through the main functions of the MEX utilities. Hope this helps! Cheers, Remi. |
RE: Ugh!! [ Reply ] By: Benjamin Roy on 2008-07-31 16:27 | [forum:98240] |
Hello mptk ERROR -- MPTK_Env_c::get_configuration_file() - Could not find MPTK Env variable with path to config file. mptk ERROR -- MPTK_Env_c::load_environment() - couldn't load the MPTK environment This means that the environment variables MPTK_CONFIG_FILENAME is not set, this there for help about how to add environment variables: http://www.brooksandrus.com/blog/2006/05/24/setting-mac-unix-environment-variables-adding-executables-to-the-system-path/ mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error while loading the dictionary file [/Applications/mtlb/toolbox/Wavelab850/Dict/default.xml]. mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error ID: 7 . mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error description: Error reading Attributes. . This means that MPTK cannot read some attributes in the Xml files, the files may no bet complient with strict XML syntax. Hope it will help. Cheers. Benjamin. |
RE: Ugh!! [ Reply ] By: chris layman on 2008-07-25 22:41 | [forum:98227] |
here is what i am getting now, if this helps. Mat2MPTKdemo mptk ERROR -- MPTK_Env_c::get_configuration_file() - Could not find MPTK Env variable with path to config file. mptk ERROR -- MPTK_Env_c::load_environment() - couldn't load the MPTK environment mptk INFO -- - The MPTK environment can be specified either by: mptk INFO -- - a) setting the MPTK_CONFIG_FILENAME environment variable, using e.g. 'setenv MPTK_CONFIG_FILENAME <path_to_config_file.xml>') mptk INFO -- - b) using the -C <path_to_configfile.xml> option in many MPTK command line utilities. mptk INFO -- mpd - ------------------------------------ mptk INFO -- mpd - MPD - MATCHING PURSUIT DECOMPOSITION mptk INFO -- mpd - ------------------------------------ mptk INFO -- mpd - The command line was: /usr/local/bin/mpd -D/Applications/mtlb/toolbox/Wavelab850/Dict/default.xml -n1000 -Etempdecay.txt -R100 tempin.wav tempbook.bin tempres.wav mptk INFO -- mpd - End command line. mptk INFO -- mpd - Loading the dictionary... mptk INFO -- mpd - (In the following, spurious output of dictionary pieces would be a symptom of parsing errors.) mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error while loading the dictionary file [/Applications/mtlb/toolbox/Wavelab850/Dict/default.xml]. mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error ID: 7 . mptk ERROR -- MP_Dict_c::load_xml_file(const char* fName) - Error description: Error reading Attributes. . mptk ERROR -- MP_Dict_c::init(dictFileName) - The dictionary scanned from file [/Applications/mtlb/toolbox/Wavelab850/Dict/default.xml] contains no recognized blocks. mptk ERROR -- mpd - Failed to create a dictionary from XML file [/Applications/mtlb/toolbox/Wavelab850/Dict/default.xml]. ??? Error using ==> bookread at 26 Can't open file [tempbook.bin] Error in ==> mpd at 35 varargout{1} = bookread('tempbook.bin'); Error in ==> Mat2MPTKdemo at 2 [B, res, dec]=mpd(y, Fs, 'n', 1000, 'R', 100);%will run mpd with the 'default.xml' dictionary file. >> |
RE: Ugh!! [ Reply ] By: chris layman on 2008-07-21 17:12 | [forum:98175] |
Hey thanks. Here is what I am getting within Matlab, >> Mat2MPTKdemo /bin/bash: line 1: /Users/clayman/Desktop/mptkmpd: No such file or directory ??? Error using ==> bookread at 26 Can't open file [tempbook.bin] Error in ==> mpd at 35 varargout{1} = bookread('tempbook.bin'); Error in ==> Mat2MPTKdemo at 2 [B, res, dec]=mpd(y, Fs, 'n', 1000, 'R', 100);%will run mpd with the 'default.xml' dictionary file. |
RE: Ugh!! [ Reply ] By: Benjamin Roy on 2008-07-15 07:50 | [forum:96230] |
Hello, Could you please be more precise on what's happen when you try to run MPTK under Matlab using Mat2MPTKdemo ? Regards. Benjamin |
Ugh!! [ Reply ] By: chris layman on 2008-07-08 16:05 | [forum:91149] |
I can't get this thing to work with Matlab. Is there a completes idiots guide to installing this? I installed all the things in the instructions but when I run demo Mat2MPTKdemo.m it doesn't work. I'm on a macbook. any help (again)? I will send u beer! or money or whatever! thanks chris |