SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] Matlab Question


Chronological Thread 
  • From: "J. Davison de St. Germain" <dav@cs.utah.edu>
  • To: eaol_2000@hotmail.com
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] Matlab Question
  • Date: Tue, 30 Mar 2004 18:26:34 -0700 (MST)


Hi Eduardo,

> Re: Matlab and SCIRun

  Here is some information I sent out responding to the same
question.  Please let me know if you still have problems after trying
this. 

    - Dav

Matlab instructions:

  SCIRun interfaces with Matlab using a socket protocol.  Matlab must
be installed on either the box that you are going to run scirun on, or
on a box that you can connect to.

  If it is on the same box, then SCIRun attempts to launch the Matlap
program when you use the SCIRun Matlab Module.  If it is on a separate
box, then you must launch matlab by hand.

  To do this, you need to do the following:

> cd .../SCIRun/src/Packages/MatlabInterface/matlab/engine
> ./mlabengine.bat start

In about 10 seconds you should see something like this:

--- begin output ----


                              < M A T L A B >
                  Copyright 1984-2001 The MathWorks, Inc.
                       Version 6.1.0.450 Release 12.1
                                May 18 2001


  To get started, type one of these: helpwin, helpdesk, or demo.
  For product information, visit www.mathworks.com.

>> server: OPEN

--- end output ----

  At this point, you run SCIRun on your local machine, create the
Matlab module, bring up the user interface (by pressing the UI
button), and type in the name (or ip address) of the machine running
matlab in the "host:port" field.  (Leave the port as ":5517").

  If you are running SCIRun on the same machine as matlab, and you
aren't seeing it "just working", then you can try to start the matlab
process directly (as seen above) and instead of leaving the host:port
at 127.0.0.1:5517, put in "your_hostname:5517".

  Please give these suggestions a try and let me know if you have any
problems.

     Thanks,
            Davison

-----------------------------------------------------------------------
- J. Davison de St. Germain         dav@cs.utah.edu    (801) 581-4078 -
- Chief Software Engineer           http://www.cs.utah.edu/~dav       -
- SCI Institute, SE C-SAFE          University of Utah                -
-----------------------------------------------------------------------
===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page