| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
%%% MCLite = < MC-Lite > |
| 3 |
%%% Copyright (C) 1994-- Michael Holst |
| 4 |
%%% |
| 5 |
%%% This library is free software; you can redistribute it and/or |
| 6 |
%%% modify it under the terms of the GNU Lesser General Public |
| 7 |
%%% License as published by the Free Software Foundation; either |
| 8 |
%%% version 2.1 of the License, or (at your option) any later version. |
| 9 |
%%% |
| 10 |
%%% This library is distributed in the hope that it will be useful, |
| 11 |
%%% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
%%% Lesser General Public License for more details. |
| 14 |
%%% |
| 15 |
%%% You should have received a copy of the GNU Lesser General Public |
| 16 |
%%% License along with this library; if not, write to the Free Software |
| 17 |
%%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 |
%%% |
| 19 |
%%% rcsid="$Id: README,v 1.4 2010/08/09 19:01:45 fetk Exp $" |
| 20 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 21 |
|
| 22 |
Here is what you need to do to access the online MCLite documentation: |
| 23 |
|
| 24 |
1. Start MATLAB (by typing "matlab") |
| 25 |
|
| 26 |
2. Initialize MCLite (by typing "setpath") |
| 27 |
|
| 28 |
3. List the MCLite help topics in MATLAB (by typing "help") |
| 29 |
|
| 30 |
4. Read the MCLite overview in MATLAB (by typing "help mclite") |
| 31 |
|
| 32 |
Here is what you need to do to use MCLite with MATLAB's graphics: |
| 33 |
|
| 34 |
1. Edit the MCLite driver "go.m" to adjust any settings you want. |
| 35 |
|
| 36 |
2. Start MATLAB (by typing "matlab") |
| 37 |
|
| 38 |
3. Initialize MCLite (by typing "setpath") |
| 39 |
|
| 40 |
4. Start the MCLite driver by typing "go" |
| 41 |
|
| 42 |
Here is what you need to do to use MCLite with Geomview graphics: |
| 43 |
|
| 44 |
1. Start Geomview listening to a UNIX domain socket by typing: |
| 45 |
|
| 46 |
geomview -Mcs 11 |
| 47 |
|
| 48 |
You must have previously installed Geomview on your machine; it is |
| 49 |
available from the University of Minnesota's Geometry Center site: |
| 50 |
|
| 51 |
http://www.geom.umn.edu/ |
| 52 |
|
| 53 |
2. Make sure you have the binary "mcbridge" in the "work" subdirectory; |
| 54 |
it can be downloaded from the same site that contains MCLite: |
| 55 |
|
| 56 |
http://www.fetk.org/ |
| 57 |
|
| 58 |
3. Edit the MCLite driver "go.m" and set "socktype" to 0 (for UNIX sockets) |
| 59 |
(Also make sure that the socket display settings are enabled.) |
| 60 |
|
| 61 |
4. Start MATLAB (by typing "matlab") |
| 62 |
|
| 63 |
5. Initialize MCLite (by typing "setpath") |
| 64 |
|
| 65 |
6. Start the MCLite driver by typing "go" |
| 66 |
|
| 67 |
Here is what you need to do to use MCLite with MCsg graphics on the same or |
| 68 |
on a remote machine: |
| 69 |
|
| 70 |
1. Start MCsg listening to an INET socket (on the workstation in front |
| 71 |
of you) by typing: |
| 72 |
|
| 73 |
./mcsg -Mci 11 |
| 74 |
|
| 75 |
For this to work, MCsg must be in the "work" subdirectory or in some |
| 76 |
directory in your path. MCsg can be downloaded from the |
| 77 |
same site that contains MCLite: |
| 78 |
|
| 79 |
http://www.fetk.org/ |
| 80 |
|
| 81 |
2. Make sure you have the binary "mcbridge" in the "work" subdirectory |
| 82 |
(or some directory in your path). MCbridge can be downloaded from the |
| 83 |
same site that contains MCLite: |
| 84 |
|
| 85 |
http://www.fetk.org/ |
| 86 |
|
| 87 |
3. Edit the MCLite driver "go.m" and set "socktype" to 1 (for INET sockets) |
| 88 |
(Also make sure that the socket display settings are enabled.) |
| 89 |
|
| 90 |
4. Start MATLAB (by typing "matlab", possibly on a remote machine) |
| 91 |
|
| 92 |
5. Initialize MCLite (by typing "setpath") |
| 93 |
|
| 94 |
6. Start the MCLite driver by typing "go" |
| 95 |
|