"Marta Maieron (LBC/NIMH)" wrote:
Quite a few bugs remained in release 2.45 of the Psychtoolbox for Win., few
of the demos worked. The updates which I had posted to the forum did not
fix all of those bugs.
Relief is on the way. In the soon-to-be-released Psychtoolbox 2.5 for Win
almost all of the demos which run on Mac will also now work on Win. The
particular demos which you've noted, FitGammaDemo, MovieDemo,
SimpleCalDemo, OffscreenDemo and TextDemo are among those which do work in
Psychtoolbox 2.5.
Best,
Allen
"Marta Maieron (LBC/NIMH)" wrote:
> Dear Allen,Marta,
> I've downloaded the Psychophysics Toolbox for window and now I'm traying
> to
> work with this.
> I'm working under windows 2000 with Matlab 5.3. And, of course, I've
> downloaded
> all upgrades for Psycophysics toolbox.
>
> I've just started and with some Psychtoolbox Demos (which work) I've met
> these errors.
> I don't know if it is my fault, is yes I'm sorry for the trouble.
> But, in any case, can you help me and explain me what mistake I done?
>
> thanks a lot
>
> Marta
Quite a few bugs remained in release 2.45 of the Psychtoolbox for Win., few
of the demos worked. The updates which I had posted to the forum did not
fix all of those bugs.
Relief is on the way. In the soon-to-be-released Psychtoolbox 2.5 for Win
almost all of the demos which run on Mac will also now work on Win. The
particular demos which you've noted, FitGammaDemo, MovieDemo,
SimpleCalDemo, OffscreenDemo and TextDemo are among those which do work in
Psychtoolbox 2.5.
Best,
Allen
"Marta Maieron (LBC/NIMH)" wrote:
> Dear Allen,
> I've downloaded the Psychophysics Toolbox for window and now I'm traying
> to
> work with this.
> I'm working under windows 2000 with Matlab 5.3. And, of course, I've
> downloaded
> all upgrades for Psycophysics toolbox.
>
> I've just started and with some Psychtoolbox Demos (which work) I've met
> these errors.
> I don't know if it is my fault, is yes I'm sorry for the trouble.
> But, in any case, can you help me and explain me what mistake I done?
>
> thanks a lot
>
> Marta
>
> » FitGammaDemo
> Fitting with simple power function
> ??? Undefined function or variable 'constr'.
>
> Error in ==> C:\MATLABR11\toolbox\PsychToolbox\PsychGamma\FitGammaPow.m
> On line 10 ==> x =
> constr('FitGammaPowFun',x0,options,[],[],[],values_in,measurements);
>
> Error in ==> C:\MATLABR11\toolbox\PsychToolbox\PsychGamma\FitGamma.m
> On line 66 ==> [fit_out1(:,i),x1(:,i),error(1,i)] = ...
>
> Error in ==> C:\MATLABR11\toolbox\PsychToolbox\PsychDemos\FitGammaDemo.m
>
> On line 40 ==> [simpleFit,simpleX] =
> FitGamma(typicalGammaInput,typicalGammaData,output,1);
> ===============
>
> » MovieDemo
> MovieDemo.m is only 35 lines, plus comments. Read it to see how easy it
> is to show movies.
>
> ??? Error using ==> centerrect
> Wrong size rect argument. Usage: [rect,dh,dv] =
> CenterRect(rect,fixedRect)
>
> Error in ==> C:\MATLABR11\toolbox\PsychToolbox\PsychDemos\MovieDemo.m
> On line 26 ==> rect=CenterRect([0 0 200
> 200],SCREEN(screenNumber,'Rect'));
>
> ================
> >>OffscreenDemo
> Warning: Bogus font name 'Helvetica' passed to SCREENTextFont
>
> ------------------------------------------------------------------------
>
> Segmentation violation detected at Tue Apr 30 17:19:42 2002
> ------------------------------------------------------------------------
>
> Configuration:
> MATLAB Version: 5.3.1.29215a (R11.1)
> Operating System: Microsoft Windows 98
> Window System: Version 4.90 (Build 3000: )
>
> Register State:
> EAX = 8478d2d8 EBX = 03fec4a8
> ECX = 06620710 EDX = 8478d2d8
> ESI = 00000000 EDI = 0147c30c
> EBP = 0147be1c ESP = 0147bdc8
> EIP = 064a8bb6 FLG = 00010286
>
> Stack Trace:
> [0] SCREEN.DLL:064a8bb6(0x06620710, 0x0147c30c, 0, 0x03fec4a8)
> [1] SCREEN.DLL:064a898b(0, 0x0147c108, 0, 0x0147c314)
> [2] SCREEN.DLL:064a6c9d(0, 0x0147c108, 0, 0x0147c314)
> [3] MATLAB.EXE:_mexRunMexFile(4735, 0x0147c108, 2, 0x0147c30c) + 95
> bytes
> [4] MATLAB.EXE:_psRunMexFile(0, 0x0147c108, 2, 0x0147c30c) + 458 bytes
>
> [5] MATLAB.EXE:_psExecMexFile(0, 2, 0x0147c30c, 0x03fec4a8) + 82 bytes
>
> [6] MATLAB.EXE:_psExecFunction(0, 2, 0x0147c30c, 0x03fec4a8) + 41
> bytes
> [7] MATLAB.EXE:_psMMexExecute(530, 0, 2, 0) + 611 bytes
> [8] MATLAB.EXE:_psCallFcnFromReference(1, 2, 0x02205f78, 0) + 150
> bytes
> [9] MATLAB.EXE:_psExecCompScript(0x02205f78, 0, 0x0147d7f0,
> 0x02205ed8) + 820 bytes
> [10] MATLAB.EXE:_psExecMFile(0, 0, 0x0147d7f0, 0x02205f78) + 138 bytes
>
> [11] MATLAB.EXE:_psExecFunction(0, 0, 0x0147d7f0, 0x02205f78) + 41
> bytes
> [12] MATLAB.EXE:_psMMexExecute(625, 0, 0, 1) + 611 bytes
> [13] MATLAB.EXE:_psInterPcode(2, 0x0147fbfe, 0x017cdd70, 0) + 1678
> bytes
> [14] MATLAB.EXE:_psParser(0, 0x81754226, 0x00520000, 0) + 1092 bytes
> [15] MATLAB.EXE:_WinMain@16(0x014e0000, 0, 0x81754226, 1) + 1979 bytes
>
> [16] MATLAB.EXE:_WinMainCRTStartup(0, 0x816ff044, 0x00520000,
> 0x6c74614d) + 342 bytes
> [17] KERNEL32.DLL:bff7b9e4(0x817875e0, 8, 0x816ff044, 0)
> [18] KERNEL32.DLL:bff7b896
> [19] KERNEL32.DLL:bff7a24f
>
> This error was detected while a MEX-file was running. If the MEX-file
> is not an official MathWorks function, please examine its source code
> for errors. Please consult the MATLAB API Guide for information on
> debugging MEX-files.
>
> If it is an official MathWorks function, please
> follow these steps in reporting this problem to The MathWorks so
> that we have the best chance of correcting it:
>
> 1. Send us this crash report. For your convenience, this
> information
> has been recorded in: C:\WINDOWS\TEMP\matlab_crash_dump.52923
>
> 2. Provide a brief description of what you were doing when this
> problem occurred.
>
> 3. If possible, include M-files, MEX-files, or MDL-files that aid
> in reproducing it.
>
> 4. E-mail or FAX this information to us at:
> E-mail: support@...
> FAX: 508-647-7201
>
> Thank you for your assistance. Please save your workspace and restart
> MATLAB before continuing your work.
>
> Error in ==> C:\MATLABR11\toolbox\PsychToolbox\PsychBasic\Screen.dll
> Error in ==>
> C:\MATLABR11\toolbox\PsychToolbox\PsychDemos\OffscreenDemo.m
> On line 62 ==> SCREEN(o,'Close')
>
> =====================================
> » SimpleCalDemo
> CheckWls: Wavelength descriptions are not consistent
> InitCal: Splining T_linear to match T_device
>
> ------------------------------------------------------------------------
>
> Segmentation violation detected at Tue Apr 30 17:24:06 2002
> ------------------------------------------------------------------------
>
> Configuration:
> MATLAB Version: 5.3.1.29215a (R11.1)
> Operating System: Microsoft Windows 98
> Window System: Version 4.90 (Build 3000: )
>
> Register State:
> EAX = 00000000 EBX = 03fec4a8
> ECX = 8478c004 EDX = 8478c004
> ESI = 03fec688 EDI = 0147ae10
> EBP = 0147a980 ESP = 0147a7e4
> EIP = 064ace84 FLG = 00010282
>
> Stack Trace:
> [0] SCREEN.DLL:064ace84(1, 0x0147ac0c, 0, 0x0147ae18)
> [1] SCREEN.DLL:064a6c9d(1, 0x0147ac0c, 0, 0x0147ae18)
> [2] MATLAB.EXE:_mexRunMexFile(4735, 0x0147ac0c, 2, 0x0147ae10) + 95
> bytes
> [3] MATLAB.EXE:_psRunMexFile(1, 0x0147ac0c, 2, 0x0147ae10) + 458 bytes
>
> [4] MATLAB.EXE:_psExecMexFile(1, 2, 0x0147ae10, 0x03fec4a8) + 82 bytes
>
> [5] MATLAB.EXE:_psExecFunction(1, 2, 0x0147ae10, 0x03fec4a8) + 41
> bytes
> [6] MATLAB.EXE:_psMMexExecute(530, 1, 2, 0x0400a988) + 611 bytes
> [7] MATLAB.EXE:_psInterPcode(1, 1, 0x022011a8, 1) + 1678 bytes
> [8] MATLAB.EXE:_psWordsj(1, 0x0147c000, 1, 0x0147c30c) + 1171 bytes
> [9] MATLAB.EXE:_psExecMFile(1, 1, 0x0147c30c, 0x022011a8) + 189 bytes
> [10] MATLAB.EXE:_psExecFunction(1, 1, 0x0147c30c, 0x022011a8) + 41
> bytes
> [11] MATLAB.EXE:_psMMexExecute(532, 1, 1, 0) + 611 bytes
> [12] MATLAB.EXE:_psCallFcnFromReference(1, 2, 0x0220c728, 0) + 150
> bytes
> [13] MATLAB.EXE:_psExecCompScript(0x0220c728, 0, 0x0147d7f0,
> 0x0220c198) + 820 bytes
> [14] MATLAB.EXE:_psExecMFile(0, 0, 0x0147d7f0, 0x0220c728) + 138 bytes
>
> [15] MATLAB.EXE:_psExecFunction(0, 0, 0x0147d7f0, 0x0220c728) + 41
> bytes
> [16] MATLAB.EXE:_psMMexExecute(682, 0, 0, 1) + 611 bytes
> [17] MATLAB.EXE:_psInterPcode(2, 0x0147fbfe, 0x017cdd70, 0) + 1678
> bytes
> [18] MATLAB.EXE:_psParser(0, 0x81754226, 0x00520000, 0) + 1092 bytes
> [19] MATLAB.EXE:_WinMain@16(0x014e0000, 0, 0x81754226, 1) + 1979 bytes
>
> [20] MATLAB.EXE:_WinMainCRTStartup(0, 0x816ff044, 0x00520000,
> 0x6c74614d) + 342 bytes
> [21] KERNEL32.DLL:bff7b9e4(0x817875e0, 8, 0x816ff044, 0)
> [22] KERNEL32.DLL:bff7b896
> [23] KERNEL32.DLL:bff7a24f
>
> This error was detected while a MEX-file was running. If the MEX-file
> is not an official MathWorks function, please examine its source code
> for errors. Please consult the MATLAB API Guide for information on
> debugging MEX-files.
>
> If it is an official MathWorks function, please
> follow these steps in reporting this problem to The MathWorks so
> that we have the best chance of correcting it:
>
> 1. Send us this crash report. For your convenience, this
> information
> has been recorded in: C:\WINDOWS\TEMP\matlab_crash_dump.52923
>
> 2. Provide a brief description of what you were doing when this
> problem occurred.
>
> 3. If possible, include M-files, MEX-files, or MDL-files that aid
> in reproducing it.
>
> 4. E-mail or FAX this information to us at:
> E-mail: support@...
> FAX: 508-647-7201
>
> Thank you for your assistance. Please save your workspace and restart
> MATLAB before continuing your work.
>
> Error in ==> C:\MATLABR11\toolbox\PsychToolbox\PsychBasic\Screen.dll
> Error in ==>
> C:\MATLABR11\toolbox\PsychToolbox\PsychOneLiners\BlackIndex.m
> On line 27 ==> pixelSize=SCREEN(windowPtrOrScreenNumber,'PixelSize');
>
> Error in ==>
> C:\MATLABR11\toolbox\PsychToolbox\PsychDemos\SimpleCalDemo.m
> On line 90 ==> [w,rect] =
> SCREEN(whichScreen,'OpenWindow',BlackIndex(whichScreen),[],32);
>
> ==========================
>
> » TextDemo
>
> ------------------------------------------------------------------------
>
> Segmentation violation detected at Tue Apr 30 17:24:53 2002
> ------------------------------------------------------------------------
>
> Configuration:
> MATLAB Version: 5.3.1.29215a (R11.1)
> Operating System: Microsoft Windows 98
> Window System: Version 4.90 (Build 3000: )
>
> Register State:
> EAX = 00000000 EBX = 03fec4a8
> ECX = 8478c004 EDX = 8478c004
> ESI = 03fec688 EDI = 0147adf8
> EBP = 0147a968 ESP = 0147a7cc
> EIP = 064ace84 FLG = 00010282
>
> Stack Trace:
> [0] SCREEN.DLL:064ace84(1, 0x0147abf4, 0, 0x0147ae00)
> [1] SCREEN.DLL:064a6c9d(1, 0x0147abf4, 0, 0x0147ae00)
> [2] MATLAB.EXE:_mexRunMexFile(4735, 0x0147abf4, 2, 0x0147adf8) + 95
> bytes
> [3] MATLAB.EXE:_psRunMexFile(1, 0x0147abf4, 2, 0x0147adf8) + 458 bytes
>
> [4] MATLAB.EXE:_psExecMexFile(1, 2, 0x0147adf8, 0x03fec4a8) + 82 bytes
>
> [5] MATLAB.EXE:_psExecFunction(1, 2, 0x0147adf8, 0x03fec4a8) + 41
> bytes
> [6] MATLAB.EXE:_psMMexExecute(530, 1, 2, 0x040171c8) + 611 bytes
> [7] MATLAB.EXE:_psInterPcode(1, 1, 0x02200ef8, 1) + 1678 bytes
> [8] MATLAB.EXE:_psWordsj(1, 0x0147bfe8, 1, 0x0147c2f4) + 1171 bytes
> [9] MATLAB.EXE:_psExecMFile(1, 1, 0x0147c2f4, 0x02200ef8) + 189 bytes
> [10] MATLAB.EXE:_psExecFunction(1, 1, 0x0147c2f4, 0x02200ef8) + 41
> bytes
> [11] MATLAB.EXE:_psMMexExecute(531, 1, 1, 0x0400b168) + 611 bytes
> [12] MATLAB.EXE:_psInterPcode(1, 0, 0x0220fb58, 0) + 1678 bytes
> [13] MATLAB.EXE:_psWordsj(0, 0x0147d4e4, 0, 0x0147d7f0) + 1171 bytes
> [14] MATLAB.EXE:_psExecMFile(0, 0, 0x0147d7f0, 0x0220fb58) + 189 bytes
>
> [15] MATLAB.EXE:_psExecFunction(0, 0, 0x0147d7f0, 0x0220fb58) + 41
> bytes
> [16] MATLAB.EXE:_psMMexExecute(686, 0, 0, 1) + 611 bytes
> [17] MATLAB.EXE:_psInterPcode(2, 0x0147fbfe, 0x017cdd70, 0) + 1678
> bytes
> [18] MATLAB.EXE:_psParser(0, 0x81754226, 0x00520000, 0) + 1092 bytes
> [19] MATLAB.EXE:_WinMain@16(0x014e0000, 0, 0x81754226, 1) + 1979 bytes
>
> [20] MATLAB.EXE:_WinMainCRTStartup(0, 0x816ff044, 0x00520000,
> 0x6c74614d) + 342 bytes
> [21] KERNEL32.DLL:bff7b9e4(0x817875e0, 8, 0x816ff044, 0)
> [22] KERNEL32.DLL:bff7b896
> [23] KERNEL32.DLL:bff7a24f
>
> This error was detected while a MEX-file was running. If the MEX-file
> is not an official MathWorks function, please examine its source code
> for errors. Please consult the MATLAB API Guide for information on
> debugging MEX-files.
>
> If it is an official MathWorks function, please
> follow these steps in reporting this problem to The MathWorks so
> that we have the best chance of correcting it:
>
> 1. Send us this crash report. For your convenience, this
> information
> has been recorded in: C:\WINDOWS\TEMP\matlab_crash_dump.52923
>
> 2. Provide a brief description of what you were doing when this
> problem occurred.
>
> 3. If possible, include M-files, MEX-files, or MDL-files that aid
> in reproducing it.
>
> 4. E-mail or FAX this information to us at:
> E-mail: support@...
> FAX: 508-647-7201
>
> Thank you for your assistance. Please save your workspace and restart
> MATLAB before continuing your work.
>
> Error in ==> C:\MATLABR11\toolbox\PsychToolbox\PsychBasic\Screen.dll
> Error in ==>
> C:\MATLABR11\toolbox\PsychToolbox\PsychOneLiners\WhiteIndex.m
> On line 27 ==> pixelSize=SCREEN(windowPtrOrScreenNumber,'PixelSize');
>
> Error in ==> C:\MATLABR11\toolbox\PsychToolbox\PsychDemos\TextDemo.m
> On line 41 ==> window = SCREEN(0,'OpenWindow',WhiteIndex(0));
> --
>
> =========================================
>
> Marta Maieron, Ph.D student
>
> Unit on Functional Imaging Methods
> LBC/DIRP/NIMH/NIH
> Building 10, Room 1D80
> 10 Center Drive MSC 1148
> Bethesda, MD 20892-1148
>
> Phone: 301-496-8174
> Fax: 301-402-1370