Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS
3 posters
Page 1 of 1
Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS
Hi All!
I am trying to use my own code to open .mcd files in Matlab 8.1 (2013a) on a 64-bit Windows 8 system. I have been using the datastrm.m file provided with MC Rack and run into something I am not sure how to solve..
I have tried using MCStreamMEX.dll and MCStreamMEX64.dll (i.e. making sure they are in the registry and on the path for Matlab) and using both returns the same error..
***********
Undefined function 'MCStreamMEX' for input arguments of type
'struct'.
Error in datastrm (line 286)
retStruct=MCStreamMEX(tmp);
Error in analysis (line 95)
D = datastrm(file_name);
% gets data from .mcd file
***********
Undefined function 'MCStreamMEX64' for input arguments of
type 'struct'.
Error in datastrm (line 286)
retStruct=MCStreamMEX64(tmp);
Error in analysis (line 95)
D = datastrm(file_name);
% gets data from .mcd file
***********
Following a comment posted by Jens (RE: MCStreamMEX.dll for 64 bit computer) I have tried to register the two .dll via command prompt using:
regsvr32 "Path filename"
and Windows returns the following error:
"The module "C:\Program Files (x86)\Multi Channel Systems\MC_Rack\MCStream...\MCStreamMEX64.dll" may not be compatible with the version of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe"
I am already beyond what I know about computers at this point.. hoping this makes sense to someone! :-)
Many thanks in advance!!
Eric
I am trying to use my own code to open .mcd files in Matlab 8.1 (2013a) on a 64-bit Windows 8 system. I have been using the datastrm.m file provided with MC Rack and run into something I am not sure how to solve..
I have tried using MCStreamMEX.dll and MCStreamMEX64.dll (i.e. making sure they are in the registry and on the path for Matlab) and using both returns the same error..
***********
Undefined function 'MCStreamMEX' for input arguments of type
'struct'.
Error in datastrm (line 286)
retStruct=MCStreamMEX(tmp);
Error in analysis (line 95)
D = datastrm(file_name);
% gets data from .mcd file
***********
Undefined function 'MCStreamMEX64' for input arguments of
type 'struct'.
Error in datastrm (line 286)
retStruct=MCStreamMEX64(tmp);
Error in analysis (line 95)
D = datastrm(file_name);
% gets data from .mcd file
***********
Following a comment posted by Jens (RE: MCStreamMEX.dll for 64 bit computer) I have tried to register the two .dll via command prompt using:
regsvr32 "Path filename"
and Windows returns the following error:
"The module "C:\Program Files (x86)\Multi Channel Systems\MC_Rack\MCStream...\MCStreamMEX64.dll" may not be compatible with the version of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe"
I am already beyond what I know about computers at this point.. hoping this makes sense to someone! :-)
Many thanks in advance!!
Eric
es_kuebler- Posts : 1
Join date : 2013-07-23
ERRORs loading mcd in Matlab. SOLUTION PLEASE
I am at the same point as you. There are 2 regsvr32.exe, one in Windows\system32 (64 bits) and one in Windows\SysWOW64 for 32bits.
Anyway, I CANT register both mcstreammex.dll in Windows 7 64bit.
I am trying to load my mcd data in Matlab R2013a. I was using WinXp and Matlab R2008b before and It worked perfectly. I've tried everything, renaming the .dll, registering the .dll, loadlibrary in Matlab, but all I got are errors. PLEASE GIVE US A SOLUTION!!
Anyway, I CANT register both mcstreammex.dll in Windows 7 64bit.
I am trying to load my mcd data in Matlab R2013a. I was using WinXp and Matlab R2008b before and It worked perfectly. I've tried everything, renaming the .dll, registering the .dll, loadlibrary in Matlab, but all I got are errors. PLEASE GIVE US A SOLUTION!!
victorteleco- Posts : 8
Join date : 2012-06-21
Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS
Just start a command window "cmd" as Administrator.
The files that needs registering are MCStream.dll and MCStream64.dll, but NOT mcssteammex.dll.
MCStream.dll and its 64 bit version are usually in c:\Program Files (x86)\Common Files\Multi Channel Systems\
So change in the cmd window into this directory and call regsvr32 MCStream.dll and regsvr32 MCStream64.dll
The latest MC_Rack Version 4.5.10 should do the registering of the 64 bit component correctly now.
Jens
The files that needs registering are MCStream.dll and MCStream64.dll, but NOT mcssteammex.dll.
MCStream.dll and its 64 bit version are usually in c:\Program Files (x86)\Common Files\Multi Channel Systems\
So change in the cmd window into this directory and call regsvr32 MCStream.dll and regsvr32 MCStream64.dll
The latest MC_Rack Version 4.5.10 should do the registering of the 64 bit component correctly now.
Jens
Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS
I am still getting the same problem:
Undefined function 'mcstreammex' for input arguments of type 'struct'.
I've register MCStream.dll and MCStream64.dll as you said and renamed my MCStreamMEX64 to mcstreammex and I am still getting the same error.
Undefined function 'mcstreammex' for input arguments of type 'struct'.
I've register MCStream.dll and MCStream64.dll as you said and renamed my MCStreamMEX64 to mcstreammex and I am still getting the same error.
victorteleco- Posts : 8
Join date : 2012-06-21
Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS
Please rename mcstreammex64.dll. into mcstreammex.mexw64. I am not sure, but their was a change in Matlab.
Jens
Jens
Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS
Thanks!!
That solved the problem!!
That solved the problem!!
victorteleco- Posts : 8
Join date : 2012-06-21
Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS
Is there a way to run this in MACOSX? Do you have a macosx version of mcstreammex??
victorteleco- Posts : 8
Join date : 2012-06-21
Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS
victorteleco wrote:Is there a way to run this in MACOSX? Do you have a macosx version of mcstreammex??
No, please try Neuroshare
Similar topics
» McsUsbDLL.dll for 64 bit Matlab
» converting fp3/ldf/lrf to Matlab
» MEA Tool and Matlab
» Using the McsUsbDLL library with 64-bit Matlab
» Testing MEA impedance with Matlab
» converting fp3/ldf/lrf to Matlab
» MEA Tool and Matlab
» Using the McsUsbDLL library with 64-bit Matlab
» Testing MEA impedance with Matlab
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum