Thread Subject: opening full matlab with engopen

Subject: opening full matlab with engopen

From: dimitri k

Date: 15 Sep, 2009 09:12:02

Message: 1 of 4

Hi,
I am using the engOpen function to communicate with matlab from C and Fortran programs (via the COM server).
However, it only opens the "automation" version of matlab. Ideally I would like the full version (with toolbars, etc) to open.
I assume this must be possible?
thanks in advance
dimitri

Subject: opening full matlab with engopen

From: Murali Manohara Chembarpu

Date: 3 Nov, 2009 09:40:06

Message: 2 of 4

Even I want to do the same thing, but did not get any solution so far.

Subject: opening full matlab with engopen

From: Richard Primerano

Date: 7 Nov, 2009 05:39:01

Message: 3 of 4

In Windows, this works.

Start Matlab from the command line, using the following options:
C:\Program Files\MATLAB\R2009a\bin\matlab.exe -automation -desktop

This starts the Automation server, but with the Matlab desktop displayed too (it won't display by default). In your C program, use engSetVisible(ep, 0) to keep the extra command line from popping up.

if (!(ep = engOpen(NULL)))
{
    fprintf(stderr, "\nCan't start MATLAB engine\n");
    return EXIT_FAILURE;
}

engSetVisible(ep, 0);

Subject: opening full matlab with engopen

From: Murali Manohara Chembarpu

Date: 9 Nov, 2009 04:16:02

Message: 4 of 4

I've been trying to do the same in JAVA using JMatLink. in JMatLink, 'engOpen' does not return any handle (in Windows platform). so i am not able to do 'engSetVisible(ep, 0);'

i got JMatLink from here: http://www.held-mueller.de/JMatLink/

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
engopen Murali Manohara Chembarpu 3 Nov, 2009 04:44:09
com dimitri k 15 Sep, 2009 05:14:07
automation dimitri k 15 Sep, 2009 05:14:07
engopen dimitri k 15 Sep, 2009 05:14:07
rssFeed for this Thread

Contact us at files@mathworks.com