Questions on setting up Princeton-mvpa-toolbox

100 views
Skip to first unread message

Kyuseong Lim

unread,
Mar 26, 2018, 3:12:08 AM3/26/18
to mvpa-t...@googlegroups.com
Hello,

First of all, I'm appreciated for your efforts to provide Princeton MVPA toolbox. I think it would help my work a lot. 

I've tried to figure out the setup for the toolbox, but there were several errors. I'd like to ask you about these since Troubleshooting link doesn't work for me. (It links to this website: https://github.com/PrincetonUniversity/princeton-mvpa-toolbox/wiki)

As I start MATLAB, the directory is like in 'screenshot1 file' : /Users/lim_clmn/Documents/MATLAB.
So I made startup.m file of which the contents is represented in 'screenshot2'.

The path of the toolbox is /Users/lim_clmn/princeton-mvpa-toolbox-master, so I set 'addpath' as that path.

After making the startup.m, when I start MATLAB again, the initial screen of MATLAB is like 'screenshot1'. There are several Warning messages. But 'help tutorial_easy' command works.

However the problem is that I can't follow the steps of the tutorials. 
For instance, if I type " subj = init_subj('haxby8','tutorial_subj'); and then summarize(subj), an error message pop up like 'screenshot3'.

And this kind of errors are also represented when I try to calculate zscore or create cross-validation indices. 

So could you tell me how I can fix these problems up?

It would be very helpful for me. 

Thank you.

   Best regards, 
     Kyuseong Lim
screenshot1.png
screenshot2.png
screenshot3.png

Greg Detre

unread,
Mar 27, 2018, 3:37:51 AM3/27/18
to mvpa-t...@googlegroups.com
Hi Kyuseong,

I'm afraid I no longer have a working license for Matlab, but I'll make the best suggestions I can.

Could it be a path issue? I think newer versions of Matlab ship with a 'datetime' function that may be shadowing the one in the MVPA toolbox. Try `which datetime` (I think) to see whether this is the case. It should point to mvpa/core/util/datetime.m (or similar). If not, try running `mvpa_add_paths` manually, and see if that helps. If it does, then that's a clue for how to debug things (perhaps something to do with your startup.m).

It looks like the Troubleshooting page got buried when the wiki was migrated over from Google Code. I've renamed it to make it easier to find, though I don't think it has a direct answer to your problem:


Best of luck,

Yours,
  Greg


--
You received this message because you are subscribed to the Google Groups "Princeton MVPA Toolbox for Matlab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvpa-toolbox+unsubscribe@googlegroups.com.
To post to this group, send email to mvpa-t...@googlegroups.com.
Visit this group at https://groups.google.com/group/mvpa-toolbox.
For more options, visit https://groups.google.com/d/optout.



--
-- 
Greg Detre
skype:gdetre

Kyuseong Lim

unread,
Apr 1, 2018, 11:25:17 PM4/1/18
to mvpa-t...@googlegroups.com
screenshot1.png
screenshot2.png
screenshot3.png

louisa....@gmail.com

unread,
Jul 24, 2019, 6:35:28 AM7/24/19
to Princeton MVPA Toolbox for Matlab
Hello,

I am having the same issues as described in the original post and am wondering if anyone has found a solution.


There appear to be two issues:

First, newer versions of matlab do appear to have a datetime function and 'which datetime' returns 'MATLAB_R2019a.app/toolbox/matlab/timefun/@datetime/datetime.m  % datetime constructor'.

Running 'mvpa_add_paths' manually produces the same warnings.


The second issue is that there are a number of 'Name is nonexistent or not a directory' warnings. When I actually look for these directories, they are indeed nonexistent. For example, lines 33-42 of mvpa_add_paths look for 8 subdirectories within 'contrib', but this directory only contains 3 subdirectories, thus producing errors for the remaining, nonexistent subdirectories.


Any suggestions would be greatly appreciated.

Best,
Louisa Smith



To unsubscribe from this group and stop receiving emails from it, send an email to mvpa-t...@googlegroups.com.

To post to this group, send email to mvpa-t...@googlegroups.com.
Visit this group at https://groups.google.com/group/mvpa-toolbox.
For more options, visit https://groups.google.com/d/optout.
Screen Shot 2019-07-23 at 2.31.13 PM.png
Screen Shot 2019-07-23 at 2.32.09 PM.png

Greg Detre

unread,
Aug 2, 2019, 12:49:43 AM8/2/19
to mvpa-t...@googlegroups.com
Hi Louisa,

The toolbox is not being actively developed any more, and so these issues aren't getting fixed.

Re the warnings: are you able to get things working, or are they stopping progress altogether?

g


To unsubscribe from this group and stop receiving emails from it, send an email to mvpa-toolbox...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvpa-toolbox/3c0cbb59-8830-4459-8426-f88d70903ff6%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages