Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Conflict between MCR and MATLAB?
Date: Thu, 30 Apr 2009 15:11:01 +0000 (UTC)
Organization: Cardiff Univ
Lines: 19
Message-ID: <gtcf25$9sm$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1241104261 10134 172.30.248.38 (30 Apr 2009 15:11:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 30 Apr 2009 15:11:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 655883
Xref: news.mathworks.com comp.soft-sys.matlab:536483


Apologies if this problem has been answered else where, but despite multiple searches, I haven't been able to solve my problem.

I'm developing software in .NET C# that incorporates a module that uses compiled matlab which was developed by another organisation within our consortium.

For most users who don't have Matlab installed the MCR does fine, although annoyingly we have to update the environment path variable with '...\v76\bin\win32'. Once thats done everything works ok. However...

If someone has MATLAB installed (R2007a) then without the MCR it doesnt work. The software throws an error but otherwise continues. The bits that use matlab dont work.

With MATLAB and the MCR installed but not the environment fix the same happens, errors are thrown but the software continues to work.

With MATLAB and the MCR installed and the environment path variable fixed the software hangs and eventually quits. 

Given that last scenario, and how it differs from the others, i'm guessing some kind of conflict is occuring between the MCR and full MATLAB install. I could probably handle the exception in the last scenario, but thats not really the issue.

If anyone has had similar experiences of using the MCR and MATLAB, or may know why MATLAB without the MCR isn't working (a different version to the compiler maybe?) I would be very grateful. Unfortunately I don't have MATLAB which makes this even more confusing!

Many thanks.

Martyn