Offline analysis error

This forum deals with BCI2000 configuration issues.
Locked
emily
Posts: 40
Joined: 24 Mar 2008, 06:13

Offline analysis error

Post by emily » 07 Apr 2008, 07:41

Hello,

I've installed the Matlab Component runtime from www.bci2000.org/downloads/bin/mcrInstallerWin7.0.exe as I didn't have matlab installed on the BCI2000 PC.

I've then tried to open the offline analysis module through tools/offline analysis/ offlineanalysisWin.exe

BUT...I'm getting the following error in the command window.
"Undefined command/function ‘set param’
Error in matlabrc at 81"

and Microsoft visual c++ runtime library error says…

"Runtime error!
Program: D:\BCI2000\tools\OfflineAnalysis\OfflineAnalysisWin.exe
Abnormal program termination"

Anyone know where I'm going wrong.

Thanks

josh
Posts: 14
Joined: 07 Apr 2008, 19:52

OA Error

Post by josh » 07 Apr 2008, 20:32

Hi Emily,
I'm having some difficulty replicating the issue. Could you please answer the following questions to aid in my pursuits:

What operating system is the computer running? Please click Start>My Computer, right-click and click properties. Then, please respond with all the information on the General tab under the heading "System:".

When did you download the software?

Thanks,
Josh

emily
Posts: 40
Joined: 24 Mar 2008, 06:13

Post by emily » 07 Apr 2008, 22:03

Hi Josh,

thanks for your reply we've fixed it by taking our data files to a computer with Matlab7.0 installed already and selecting the path to the offline analysis and all of the subfolders under this.

From the instructions I had thought that Matlab wasn't required for the installation and that the mcrwindowsinstaller7.0.exe was sufficient.

thanks Emily

josh
Posts: 14
Joined: 07 Apr 2008, 19:52

Post by josh » 07 Apr 2008, 22:27

Well, it's good to hear that you've managed to get OA working for you. What you interpreted from the instructions, however, is indeed correct (i.e., OA should work on a computer without MATLAB as long as the MCR is installed). While this has been tested on a number of computers, it appears you've found a special case. As such, I'd still like to see if I can reproduce the error. So, if you don't mind, I'd greatly appreciate it if you could provide me with the information I requested above so that we can make future versions of OA more robust.

Thanks,
Josh

emily
Posts: 40
Joined: 24 Mar 2008, 06:13

Post by emily » 07 Apr 2008, 23:56

Hi Josh,
Tony downloaded the file for me yesterday from the BCI site which is linked to from here http://www.bci2000.org/wiki/index.php/U ... e_Analysis

The PC I was trying to run it on has an XP operating system with Service Pack 2.

thanks

emily
Posts: 40
Joined: 24 Mar 2008, 06:13

Post by emily » 27 May 2008, 08:41

Hello,
We've identified that the runtime error is occuring when the offline analysis fails to decrypt the file (matlabrc.m).
Does anyone know how we can fix this problem?
thanks
Emily

lynn
Posts: 20
Joined: 10 Jun 2008, 11:08

I have same problem

Post by lynn » 31 Jul 2008, 15:32

Hi,

I get same errors when I try to run OfflineAnalysisWin.exe.

My PC does not have Matlab, so I run mcrInstallerWin.7.0.exe before head.

Here is my operating system properties:

Microsoft Windows XP
Professional Version 2002 SP2

the OA I have is Revision 2003.

Do I need to install Matlab to get the OA running?

Thanks~

josh
Posts: 14
Joined: 07 Apr 2008, 19:52

matlabrc

Post by josh » 31 Jul 2008, 23:10

Hi all,
I apologize for the late reply. The error you're experiencing is actually an issue with the MATLAB runtime and not Offline Analysis. From the MATLAB website I found the following which I believe describes the problem you're having:
Failed to decrypt file.
The M-file "<ctf_root>\toolbox\compiler\deploy\matlabrc.m" cannot be executed. The application is trying to use a CTF archive that does not belong to it. Applications and CTF archives are tied together at compilation time by a unique cryptographic key, which is recorded in both the application and the CTF archive. The keys must match at run time. If they don't match, you will get this error.

To work around this, delete the *_mcr directory corresponding to the CTF archive and then rerun the application. If the same failure occurs, you will likely need to recompile the application using the MATLAB® Compiler™ product and copy both the application binary and the CTF archive into the installation directory.
If this doesn't work, you might want to uninstall the runtime and reinstall. Then, download a new copy of Offline Analysis and try again. Please let me know if you still have a problem after that.

- Josh

Locked

Who is online

Users browsing this forum: No registered users and 0 guests