Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!j4g2000yqa.googlegroups.com!not-for-mail
From: Rune Allnor <allnor@tele.ntnu.no>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Calling Matlab from Java
Date: Thu, 10 Sep 2009 05:49:34 -0700 (PDT)
Organization: http://groups.google.com
Lines: 33
Message-ID: <bbb58596-669f-491d-804b-c9aa8edda169@j4g2000yqa.googlegroups.com>
References: <h87tev$18l$1@fred.mathworks.com> <25d774c7-0b3a-4822-88c4-82269abb04f6@x38g2000yqb.googlegroups.com> 
	<h8a5u9$mcm$1@fred.mathworks.com>
NNTP-Posting-Host: 77.16.244.146
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1252586974 9600 127.0.0.1 (10 Sep 2009 12:49:34 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 10 Sep 2009 12:49:34 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: j4g2000yqa.googlegroups.com; posting-host=77.16.244.146; 
	posting-account=VAp5gAkAAAAmkCze5hvZtMeedpZWNthI
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; 
	Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; 
	.NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:569538


On 10 Sep, 08:22, "Stephan Larws" <stephan.la...@iav.de> wrote:
> Rune Allnor <all...@tele.ntnu.no> wrote in message <25d774c7-0b3a-4822-88c4-82269abb0...@x38g2000yqb.googlegroups.com>...
> > Don't know if there are limitations, but there is at least
> > ample opportunity for trouble if you start mixing a matlab
> > GUI engine with an already existing GUI.
>
> > Use java for the GUI and leave the matlab engine to deal
> > with computations.
>
> > Rune
>
> Hi Rune,
>
> thank you for your fast response. Normally I would do everything like you said, but my problem is, that these matlab scripts are already existing and they include the GUI and quite a bit of other code so rewriting everything would be my last resort.

Well, if your code is already a mess, it will not
become less of a mess if you postpone straightening
it out. There are only two valid reasons for you
*not* reworking the code *now*:

- The code will never  be used again.
- Your last day on the project was today.

If there is even the slightest chance somebody will
use the code in the future, you are doing everybody
a favour by clearing it up now.

Syre, it will be a lot of work that is 'invisible'
to your boss, but you (or whoever else will maintain
the code in the future) will save immense amounts
of both time and trouble.

Rune