3.0.10 error Win7 Matlab R2013a - invalid MEX-File error for MatlabWindowsFilesR2007a\Screen.mexw64

Hi there,

 

I know this question has been asked many times here, but I can’t seem to fix this on my own.

 

I can’t get PsychToolbox working on my Windows 7 Machine with Matlab R2013a. When I run AssertOpenGL I get an invalid MEX-File error for MatlabWindowsFilesR2007a\Screen.mexw64.

 

I’m running the latest release of PsychToolbox (3.0.10 - Flavor: beta - Corresponds to SVN Revision 3833) in Windows 7 running Matlab R2013a.

 

I’ve also installed the supplied vcredist_x64.exe

 

I’ve copied all the errors and versions in detail below.

 

Some help would be greatly appreciated!

 

Thank you ;)

 

Steven.

 

 

 

 

 

>> AssertOpenGL

 

A very simple test call to the Screen() MEX file failed in AssertOpenGL, indicating

that either Screen is totally dysfunctional, or you are trying to run your script on

a system without Psychtoolbox-3 properly installed - or not installed at all.

 

This script or function is designated to run only an Psychtoolbox based on OpenGL. Read "help  AssertOpenGL" for more info.

 

A first more diagnostic test would be to simply type Screen in your Matlab/Octave console and check what its output is.

 

The returned error message by Matlab/Octave was:

Last Error: Invalid MEX-file '\\...\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64': The specified module could not be found. (MATLAB:invalidMEXFile)

    \\...\PsychOneliners\AssertOpenGL.m,99

 

Error using AssertOpenGL (line 174)

Problems detected in call to AssertOpenGL;

 

>> Screen

Invalid MEX-file '\\is-fs1a\Users\smanos\Desktop\Psych\toolbox\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64': The

specified module could not be found.

 

 

*** PsychtoolboxVersion ***

 

>> PsychtoolboxVersion

 

ans =

 

3.0.10 - Flavor: beta - Corresponds to SVN Revision 3833

For more info visit:

https://github.com/Psychtoolbox-3/Psychtoolbox-3

 

*** Windows Version 7 ***

 

C:\Users\smanos>Ver

 

Microsoft Windows [Version 6.1.7601]

 

 

*** Matlab Version ***

 

>> version

 

ans =

 

8.1.0.604 (R2013a)

 

Have you installed GStreamer? -Xiangrui

--- In psychtoolbox@yahoogroups.com, Steven Manos <smanos@...> wrote:
>
> Hi there,
>
> I know this question has been asked many times here, but I can't seem to fix this on my own.
>
> I can't get PsychToolbox working on my Windows 7 Machine with Matlab R2013a. When I run AssertOpenGL I get an invalid MEX-File error for MatlabWindowsFilesR2007a\Screen.mexw64.
>
> I'm running the latest release of PsychToolbox (3.0.10 - Flavor: beta - Corresponds to SVN Revision 3833) in Windows 7 running Matlab R2013a.
>
> I've also installed the supplied vcredist_x64.exe
>
> I've copied all the errors and versions in detail below.
>
> Some help would be greatly appreciated!
>
> Thank you ;)
>
> Steven.
>
>
>
>
>
> >> AssertOpenGL
>
> A very simple test call to the Screen() MEX file failed in AssertOpenGL, indicating
> that either Screen is totally dysfunctional, or you are trying to run your script on
> a system without Psychtoolbox-3 properly installed - or not installed at all.
>
> This script or function is designated to run only an Psychtoolbox based on OpenGL. Read "help AssertOpenGL" for more info.
>
> A first more diagnostic test would be to simply type Screen in your Matlab/Octave console and check what its output is.
>
> The returned error message by Matlab/Octave was:
> Last Error: Invalid MEX-file '\\...\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64': The specified module could not be found. (MATLAB:invalidMEXFile)
> \\...\PsychOneliners\AssertOpenGL.m,99
>
> Error using AssertOpenGL (line 174)
> Problems detected in call to AssertOpenGL;
>
> >> Screen
> Invalid MEX-file '\\is-fs1a\Users\smanos\Desktop\Psych\toolbox\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64': The
> specified module could not be found.
>
>
> *** PsychtoolboxVersion ***
>
> >> PsychtoolboxVersion
>
> ans =
>
> 3.0.10 - Flavor: beta - Corresponds to SVN Revision 3833
> For more info visit:
> https://github.com/Psychtoolbox-3/Psychtoolbox-3
>
> *** Windows Version 7 ***
>
> C:\Users\smanos>Ver
>
> Microsoft Windows [Version 6.1.7601]
>
>
> *** Matlab Version ***
>
> >> version
>
> ans =
>
> 8.1.0.604 (R2013a)
>
This is just a wild guess, but it might work better if it was installed locally and not on a network share. Can you try putting it on c:\toolbox just for testing purposes?

On Tue, Jun 4, 2013 at 5:45 PM, Steven Manos <smanos@...> wrote:

Hi there,

I know this question has been asked many times here, but I can’t seem to fix this on my own.

I can’t get PsychToolbox working on my Windows 7 Machine with Matlab R2013a. When I run AssertOpenGL I get an invalid MEX-File error for MatlabWindowsFilesR2007a\Screen.mexw64.

I’m running the latest release of PsychToolbox (3.0.10 - Flavor: beta - Corresponds to SVN Revision 3833) in Windows 7 running Matlab R2013a.

I’ve also installed the supplied vcredist_x64.exe

I’ve copied all the errors and versions in detail below.

Some help would be greatly appreciated!

Thank you ;)

Steven.

>> AssertOpenGL

A very simple test call to the Screen() MEX file failed in AssertOpenGL, indicating

that either Screen is totally dysfunctional, or you are trying to run your script on

a system without Psychtoolbox-3 properly installed - or not installed at all.

This script or function is designated to run only an Psychtoolbox based on OpenGL. Read "help AssertOpenGL" for more info.

A first more diagnostic test would be to simply type Screen in your Matlab/Octave console and check what its output is.

The returned error message by Matlab/Octave was:

Last Error: Invalid MEX-file '\\...\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64': The specified module could not be found. (MATLAB:invalidMEXFile)

\\...\PsychOneliners\AssertOpenGL.m,99

Error using AssertOpenGL (line 174)

Problems detected in call to AssertOpenGL;

>> Screen

Invalid MEX-file '\\is-fs1a\Users\smanos\Desktop\Psych\toolbox\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64': The

specified module could not be found.

*** PsychtoolboxVersion ***

>> PsychtoolboxVersion

ans =

3.0.10 - Flavor: beta - Corresponds to SVN Revision 3833

For more info visit:

https://github.com/Psychtoolbox-3/Psychtoolbox-3

*** Windows Version 7 ***

C:\Users\smanos>Ver

Microsoft Windows [Version 6.1.7601]

*** Matlab Version ***

>> version

ans =

8.1.0.604 (R2013a)