Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!ecngs!feeder2.ecngs.de!newsfeed.freenet.de!feed.xsnews.nl!border-2.ams.xsnews.nl!ramfeed1.eweka.nl!eweka.nl!hq-usenetpeers.eweka.nl!69.16.177.246.MISMATCH!cyclone03.ams!news.ams.newshosting.com!npeersf01.ams!newsfe29.ams2.POSTED!53ab2750!not-for-mail
Sender:  <tristram@chicken.quantmodels.co.uk>
From: tristram.scott@ntlworld.com (Tristram Scott)
Subject: Re: matlab slow in 3d visualization
Newsgroups: comp.soft-sys.matlab
References: <fltd35$8p6$1@fred.mathworks.com> <5ugqcdF1ig1uuU1@mid.dfncis.de> <fm4tga$qqv$1@fred.mathworks.com> <ftTWj.28967$66.11712@newsfe20.ams2> <18bf9e37-db95-4f71-8264-07305cc9f100@2g2000hsn.googlegroups.com>
User-Agent: tin/1.7.7-20041215 ("Scalpay") (UNIX) (SunOS/5.10 (sun4u))
Lines: 27
Message-ID: <uZiXj.38093$Nq2.7432@newsfe29.ams2>
NNTP-Posting-Host: 82.6.107.75
X-Complaints-To: http://netreport.virginmedia.com
X-Trace: newsfe29.ams2 1210956762 82.6.107.75 (Fri, 16 May 2008 12:52:42 EDT)
NNTP-Posting-Date: Fri, 16 May 2008 12:52:42 EDT
Organization: virginmedia.com
Date: Fri, 16 May 2008 16:52:42 GMT
Xref: news.mathworks.com comp.soft-sys.matlab:468896


rych <rychphd@gmail.com> wrote:
> On May 15, 10:35 am, tristram.sc...@ntlworld.com (Tristram Scott)
> wrote:
>>
>> You could also try running with Java disabled.  There seems to be some
>> overhead in the java based figures.
>>
> Yes, please, how can we disable Java? And how to find out which
> functions are java-based. Thanks.
> Igor

You can pass options to MATLAB on the command line wjhen you start it up. 
My favourite is -nojvm.  If I need java (e.g. for database toolbox or for
report generator) then I instead use -nodesktop.

matlab -nojvm

I'm not sure of an easy way to list all the java based functions.   For the
m files you can look through them with grep, but that won't help with p
files.  It also would not find the functions which call these functions.

Perhaps the best way is to turn java off, and then try your code and see if
it fails.

-- 
Dr Tristram J. Scott               
Energy Consultant