Home My Page Projects MPTK: The Matching Pursuit ToolKit
Summary Activity Forums Tracker Lists Docs News SCM Files

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: help with MPTK-0.5.4, Windows, Matlab [ Reply ]
By: RĂ©mi Gribonval on 2008-02-14 22:23
Dear Andrew,

As you can see with some of the next posts here, you are not the only one having troubles using Mat2MPTK with the 0.5.4 version. The problem is that Mat2MPTK was developped for an older version of MPTK, and the file formats (dictionary and book) have changed since then.

Pierre Leveau did a great job developing the Mat2MPTK wrappers for MPTK/Matlab, but we did not have the time yet to include it in the distribution to maintain compatibility.

Any help on that would be greatly appreciated. One particularly desirable feature would be a pair of Mex files bookread/bookwrite to import/export books from Matlab in the native book format. The current one (in src/matlab) are not stable and cannot read/write all available atoms. The challenge is to write a mechanism allowing each new type of atoms to read/write itself to/from a Matlab structure.

Another issue is compiling mex files on windows ...

Best regards,

Remi Gribonval.

help with MPTK-0.5.4, Windows, Matlab [ Reply ]
By: Andrew Gardner on 2008-02-01 05:34
I'm having some difficulty using MPTK via the Matlab API. I've installed MPTK-0.5.4 on Windows and used the Qt GUI to generate a sample book of glockenspiel. I also installed the Matlab package (not sure if I set paths correctly) and got the following error trying to open the book:

Error in ==> bookread at 68
len(c) = fread(fid, 1, 'ulong')

Any suggestions for proceeding?

ps -- I tried to configure mat2mptk by using InstallMat2MPTK from the Matlab command line. It's not clear how to set the paths; I chose: