Hello Satouru and Volkmar
Thanks for your responses.
>As far as I can recall, SnPM2 doesn't come with any mex file. So perhaps
>SnPM2 may not be the culprit. You mentioned that the "setup" process
>didn't produce a design matrix. Did you get any error or warning
>messages during the setup process?
I don't get any error/warining during setup. It creates SnPMcfg.mat file,
but I don't see the design matrix in Graphics window.
I tried executing the function snpm.m, but it gives the same error.
However, if I assign CWD=pwd at the command line, then execute the code of
snpm_cp.m manually, it works through all the permutations, in the end it
prompts to execute the snpm_pp.m.
I execute snpm_pp at the command line, and I am able to see most of the
results except the P values and statistics.
Probably if I strech out a little more, I may be able to figure out a way to
see all the results, but its taking too much time. Also, it would be a lot
less messier if I could get this done through GUI.
>this probably happens because there is a file B.dll in your MATLAB search
>path which does belong to MATLAB perl, but MATLAB tries to load it as
>executable file. Please revisit your MATLAB path settings (e.g. via
>editpath) to only include folders that are necessary to access .m and
>MATLAB loadable executable files.
There is no other B.dll in matlab path.
With regards,
Archana
> -----Original Message-----
> I am getting the following error in SnPM2
> __________________________________
>
> Unable to load mex file: C:\MATLAB7\sys\perl\win32\lib\auto\b\B.dll.
> The specified module could not be found.
>
>
> ??? Invalid MEX-file 'C:\MATLAB7\sys\perl\win32\lib\auto\b\B.dll': The
> specified module could not be found.
>
> .
>
> Error in ==> <a href="error:C:\snpm2\snpm_cp.m,183,1">snpm_cp at
183</a>
> if size(CONT,2) ~= size([H C B G],2)
>
> ??? Error while evaluating uicontrol Callback.
>
> ____________________________________
>
> I am using SPM2 and matlab 7 (r14) on Windows XP 2000.
> I am trying (Multisub: 1 condition, 1 scan per subject) design.
>
> This happens after I select SnPMcfg.mat file in 'compute' option.
> Also, after I am through with all the options in 'setup', I get a
blank
> box
> in graphics window. I suppose it should display the design matrix.
>
> I can't figure out what is the problem. I also tried using the example
> dataset given here http://www.sph.umich.edu/ni-stat/SnPM/exnew.html
> And I get the same error.
|