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

View previous topic View next topic Go down

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

Post  es_kuebler on Tue Jul 23, 2013 9:29 am

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

View user profile

Back to top Go down

ERRORs loading mcd in Matlab. SOLUTION PLEASE

Post  victorteleco on Thu Mar 13, 2014 7:39 am

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

View user profile

Back to top Go down

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

Post  Jens on Fri Mar 14, 2014 2:46 am

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 : 54
Join date : 2009-03-05
Location : Multi Channel Systems

View user profile http://www.multichannelsystems.com

Back to top Go down

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

Post  victorteleco on Fri Mar 14, 2014 4:00 am

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

View user profile

Back to top Go down

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

Post  Jens on Fri Mar 14, 2014 4:07 am

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

Jens


Jens

Posts : 54
Join date : 2009-03-05
Location : Multi Channel Systems

View user profile http://www.multichannelsystems.com

Back to top Go down

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

Post  victorteleco on Fri Mar 14, 2014 4:18 am

Thanks!!

That solved the problem!!

victorteleco

Posts : 8
Join date : 2012-06-21

View user profile

Back to top Go down

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

Post  victorteleco on Thu Mar 20, 2014 6:20 am

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

View user profile

Back to top Go down

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

Post  Jens on Mon Mar 31, 2014 8:01 pm

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 : 54
Join date : 2009-03-05
Location : Multi Channel Systems

View user profile http://www.multichannelsystems.com

Back to top Go down

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

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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