Welcome to our user forum (read only mode).
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

3 posters

Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

Post  es_kuebler Tue Jul 23, 2013 10:29 pm

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

es_kuebler

Posts : 1
Join date : 2013-07-23

Back to top Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty ERRORs loading mcd in Matlab. SOLUTION PLEASE

Post  victorteleco Thu Mar 13, 2014 7:39 pm

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!!

victorteleco

Posts : 8
Join date : 2012-06-21

Back to top Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

Post  Jens Fri Mar 14, 2014 2:46 pm

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

Jens

Posts : 55
Join date : 2009-03-06
Location : Multi Channel Systems

http://www.multichannelsystems.com

Back to top Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

Post  victorteleco Fri Mar 14, 2014 4:00 pm

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.

victorteleco

Posts : 8
Join date : 2012-06-21

Back to top Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

Post  Jens Fri Mar 14, 2014 4:07 pm

Please rename mcstreammex64.dll. into mcstreammex.mexw64. I am not sure, but their was a change in Matlab.

Jens


Jens

Posts : 55
Join date : 2009-03-06
Location : Multi Channel Systems

http://www.multichannelsystems.com

Back to top Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

Post  victorteleco Fri Mar 14, 2014 4:18 pm

Thanks!!

That solved the problem!!

victorteleco

Posts : 8
Join date : 2012-06-21

Back to top Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

Post  victorteleco Thu Mar 20, 2014 6:20 pm

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

Back to top Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

Post  Jens Tue Apr 01, 2014 9:01 am

victorteleco wrote:Is there a way to run this in MACOSX? Do you have a macosx version of mcstreammex??

No, please try Neuroshare

Jens

Posts : 55
Join date : 2009-03-06
Location : Multi Channel Systems

http://www.multichannelsystems.com

Back to top Go down

Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS Empty Re: Difficulty using MCStreamMEX64.dll with Matlab 8.1 (2013a) on Windows 8 OS

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum