environment needed for meg-pd

alotof eve alotof_xd at YAHOO.COM
Fri Feb 16 20:13:46 CET 2007


Hi Christian,

    Yes it works. Thank you so much.
    But now I met a new problem. I got only a whole .fif data. When I tried the command "MEGMODEL", it said any argument can be left out. However, the error showed up again:
>> MEGMODEL
??? Could not load the coil files

Error in ==> F:\MATLAB6p5\bin\win32\megmodel.dll

I couldn't find any .fif file like Neuromag-122 or coilfile.fif. How do you settle it?
Thanks.

Best,
Eve

Christian Hesse <c.hesse at FCDONDERS.RU.NL> wrote: Hi Eve,

you should be able to use the meg-pd toolbox (also from FieldTrip) in Matlab under Windows. I got the toolbox to work in Matlab7 under WindowsXP as follows:


 - extract the meg-pd-1.2-10.mswin.zip file to somewhere
-  then copy (or move) the meg_pd_1.2 directory wherever you want
-  in the README file in the meg-pd-1.2-10.mswin directory it specifies that you need to copy the DLL file "meg-pd-1.2-10.mswin\lib\i686-pc-cygwin\libmagnet_pd_1.2.dll" into the bin directory of Matlab on your system, in my case this was the directory "MATLAB71\bin\win32"
-  start up Matlab, add the fieldtrip and meg_pd_1.2 directories to your path and try to read your .fif file


Let me know if this works on your Windows system


Regards,
Christian




On 15 Feb 2007, at 17:32, alotof eve wrote:

Hi, experts,

       I am a new user of fieldtrip. I try to use meg-pd package to import NeuroMag data but it seems there is something wrong with the environment.
    The error  showed as:
        Unable to load mex file: F:\MATLAB6p5\toolbox\fieldtrip-20070213\meg_pd_1.2\loadfif.dll.
The specified module could not be found.

        The true is the .dll is in the same path as .m and the path has been add the Matlab.
        I use Latlab 6.5 under WindowXP. I don't know if it affects. I saw the "lib" in the same meg-pd package included a .dll for pc-cygwin. I wonder if I have to use Matlab under Linux/Unix environment. Or if any other limits.

       Please help me. Thanks.

  Best,
  Eve



---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

 ----------------------------------------------------------------------
Christian Hesse, PhD, MIEEE


F.C. Donders Centre for Cognitive Neuroimaging
P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands


Tel.: +31 (0)24 36 68293
Fax: +31 (0)24 36 10989


Email: c.hesse at fcdonders.ru.nl
Web: www.fcdonders.ru.nl
----------------------------------------------------------------------











---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20070216/8096fb64/attachment-0002.html>


More information about the fieldtrip mailing list