Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColorWorkingMemoryExperiment #29

Open
boutsenl opened this issue Oct 20, 2016 · 1 comment
Open

ColorWorkingMemoryExperiment #29

boutsenl opened this issue Oct 20, 2016 · 1 comment

Comments

@boutsenl
Copy link

When attempting to run the MemToolbox demo experiment "ColorWorkingMemoryExperiment" I encounter the following error:

**Cannot find an exact (case-sensitive) match for 'RandSample'

Error in ColorWorkingMemoryExperiment (line 40)
itemToTest(trialIndex) = RandSample(1:nItems);**

Is there a "RandSample.m" file required to run this function that is different from the one provided by MathWorks ?

Many thanks,

Luc Boutsen
Aston University, Birmingham, UK

@wanjam
Copy link

wanjam commented Nov 1, 2016

Hi Luc,

I am not a member of the visionlab, so I can't provide a final answer.
My guess is, that this is the RandSample.m function of the Psychtoolbox which is now called PsychRandSample.m. I think that's because of a conflict with randsample.m in the statistics toolbox.

You could try the version of ColorWorkingMemoryExperiment.m in my fork. See reference in #28 . That version runs fine on my setup with Matlab R2016a & PTB 3.0.13.

Best,
Wanja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants