cpp-lln-lab / CPP_PTB

a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox
https://cpp-ptb.readthedocs.io/en/latest/index.html#
MIT License
14 stars 13 forks source link

test cleanUp on Mac #2

Open Remi-Gau opened 4 years ago

Remi-Gau commented 4 years ago

@marcobarilari I might be wrong but I think this is fixed.

I think this was due to a faulty call SkipSyncTest.

At least for me I can run my scripts more than once without having octave crash.

marcobarilari commented 4 years ago

I would say yes if this is the master version of it.

clear Screen run on my computer will badly crash matlab with the subsequent attempt to run a PTB code.

But I am curious if it is a common thing on macs or only on mine, in the second case it is my problem and this part

if ~ismac
        % remove PsychDebugWindowConfiguration
        clear Screen;
end

might go away cause it does not make sense. @CerenB do you have the same problem? To test it you can just run clear Screen in the console and then run devSandbox.

CerenB commented 4 years ago

@marcobarilari I've ran the following:

clear Screen
devSandbox

very nice grids, no crashing!

marcobarilari commented 4 years ago

damn it, I break every computer.....