Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

CVF6.6 and MATLAB 7.0 trouble

larsm
Beginner
438 Views

We have recently switched to MATLAB 7.0 from 6.0. We use Windows XP.

We can still run MATLAB 6.0 however.

I can recompile, link and run program using the MATLAB eng stuff in MATLAB 6.0 (and XP) with no trouble at all.

I can recompile and link a program using the MATLAB eng stuff in MATLAB 7.0 with no trouble.

But when I run it using the MATLAB 7.0 path I get an error indication from EngOPEN.

There is no trouble, however, running it under MATLAB 6.0 i.e. pointing to the MATLAB 6.0 dlls although I have linked it using the 7.0 path.

Has anybody had a similar experience to give me an idea why I cannot stay in MATLAB 7.0 all the time?

Best wishes

Lars

0 Kudos
1 Reply
larsm
Beginner
438 Views
Hi!
I got the solution from MathWorks.
Here's a quote from their answer:
There are no known general bugs or issues regarding the use of Engine with MATLAB 7.0 that should prevent the user from successfully using it. Since engOpen invokes whatever version of MATLAB is registered, I suggest the user try reregistering MATLAB 7.0 prior to invoking the Engine application. In order to do this, the user should open a MATLAB session for MATLAB 7.0 and execute the following command:

!matlab /regserver

This should open a new command window of MATLAB, which can then be closed. Now exit MATLAB and try the Engine application.

0 Kudos
Reply