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: Problem with MEX files [ Reply ]
By: Kaustuv Chatterjee on 2008-06-20 07:45
Dear Benjamin,

Thanx for the early reply. I have set the environment variable and search path in matlab as you have described but the problem remains the same. However, if I copy the mex files into the bin directory they seem to work.

I am now having problems with bookwrite. Matlab crashes when I try to use the bookwrite. mpd_multithread and bookread are working fine.



RE: Problem with MEX files [ Reply ]
By: Benjamin Roy on 2008-06-19 16:48

MPTK must be installed and set in order to work with matlab Mexfiles, wich means:
-environment variable called MPTK_CONFIG_FILENAME to be set with the path
of the path.xml file located in the bin directory.
(for example C:\Program Files\MPTK\bin\path.xml)
-This path.xml file defines the path to the Atoms/Block plugin location. On Windows system in the case you have installed MPTK library and utilities in an non standard directory
(eg different of "C:/Program Files/MPTK") you have to modify the path inside of this file with the real installation path.
-matlab search path variable as to be set with the mptk lib directory:
by default "C:/Program Files/MPTK/lib/release"

MPTK Matlab features are experimental and under development.

All feedback are welcome.



Problem with MEX files [ Reply ]
By: Kaustuv Chatterjee on 2008-06-19 15:27
Dear Benjamin,

I get the following error while running any of the mex files from the MPTK-Windows-bin-0-5-5-beta release.

??? Invalid MEX-file 'C:\MPTK\matlab\bookread.mexw32': The specified module could not be found.

I am running Matlab 7.4.0(R2007a). Is there a compatibility issue?


Kaustuv Chatterjee