Path: news.mathworks.com!not-for-mail
From: "Thomas " <thomas.schmelzer.nospam@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: starting engopen
Date: Sat, 24 Nov 2007 11:15:30 +0000 (UTC)
Organization: Oxford University
Lines: 29
Message-ID: <fi914i$piu$1@fred.mathworks.com>
References: <fi705k$gau$1@fred.mathworks.com> <fi72d7$a5o$1@fred.mathworks.com> <cjdek3lmoblqs33mibkf45l9bud8sil65v@4ax.com>
Reply-To: "Thomas " <thomas.schmelzer.nospam@gmail.com>
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 1195902930 26206 172.30.248.38 (24 Nov 2007 11:15:30 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 24 Nov 2007 11:15:30 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 444822
Xref: news.mathworks.com comp.soft-sys.matlab:439134


James Tursa <aclassyguywithaknotac@hotmail.com> wrote in 
message <cjdek3lmoblqs33mibkf45l9bud8sil65v@4ax.com>...

James,
changing from "\0" to NULL doesn't change the behaviour in 
my case. I have also tried strings like "matlab" or 
strings like "startMatlab" where startMatlab.bat is a file 
that can start Matlab and is located in the same folder as 
the *.exe file of my program.

I think the problem is better described in my second 
posting where I describe that MATLAB starts but closes 
after a second. I wish I would know what's going on...

Can you please help me on that issue:
> And remember the engine opens pointed to the default 
startup directory
> for MATLAB, which may not be the same directory as your 
c program. If
> you need help fixing that part let me know.
> 

I have read the MATLAB documenation and I have wasted 
several hours with this problem. 

Best,
Thomas