In /usr/share/local/matlab42/install

README
Release Notes for Installing Matlab 4.2

abort.sh
usage: abort.sh

abstract: This Bourne Shell script prints out an abort message and
exits.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.8 Date: 1994/04/12 12:42:51

actualp.sh
Usage: actualp

abstract: This Bourne Shell script returns the actual path for
a file in variable Filepath. Only a real existing file
returns a non-null value.

note(s): 1. This routine must be called using a . (period)
2. The global variable 'File' is the initial filepath.

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.2 Date: 1994/03/23 21:34:39

arch.sh
usage: arch.sh

abstract: This Bourne Shell script sets the variable Arch to
reflect the current machine architecture.

Arch - Machine architecture

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1986-94 by The MathWorks, Inc.
Revision: 1.20 Date: 1994/04/11 14:36:23

batch1.sh
Usage: batch1.sh install_arguments
batch.boot install_arguments (boot time only)

Abstract: This Bourne Shell script performs a standalone/server
(type 1) type of installation in batch.

Options:
install_arguments - arguments simply passed on without
parsing to install_matlab.

Note(s): 1. Supply values for the right hand side for the
following 8 variables in this script. See the
README in the MATLAB ./install directory for further
explanation.

WATCH OUT!

If the MATLAB root directory is part of an AUTOMOUNTED
directory supply a directory path for MATLAB that does
not include any mount point information. It must be a
path that forces a mount to be done if it is currently
unmounted.

MATLAB=
OUTPUT_FILE=
IS_SIMULINK_LICENSED= yes OR no
CHECK_SYMBOLIC_FOR_MAPLE= yes OR no
MAPLE_LIBRARIES_DIR=
(contains files: maple.hlp, maple.ind, maple.lib)
SITE_ID=
WANT_ACCESS_DIR= yes OR no
ACCESS_DIR=
WANT_MAN_PAGES= yes OR no
MAN_PAGES_DIR=
WANT_LICENSE_MANAGER= yes OR no
(Ignored on convex and cray.)
WANT_LMBOOT_LINK= yes OR no
(Ignored on convex and cray.)

NO BLANKS around the "=" in the assignments!
Put strings with blanks in single quotes.

2. Run this script as root.

3. If this routine is sourced then the variable arglist
contains any extra arguments to be passed to
install_matlab. arglist should never be the empty
string even when there are no arguments.

Example: 1. Here is a sample dataset

MATLAB=/usr/local/matlab
OUTPUT_FILE=/usr/local/matlab/install1.out
IS_SIMULINK_LICENSED=yes
CHECK_SYMBOLIC_FOR_MAPLE=yes
MAPLE_LIBRARIES_DIR=/usr/local/maple/lib
SITE_ID='LN 12372'
WANT_ACCESS_DIR=yes
ACCESS_DIR=/usr/local/bin
WANT_MAN_PAGES=no
MAN_PAGES_DIR=
WANT_LICENSE_MANAGER=yes
WANT_LMBOOT_LINK=no

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.14 Date: 1994/04/11 11:11:59

batch2.sh
Usage: batch2.sh install_arguments

Abstract: This Bourne Shell script performs a client
(type 2) type of installation in batch.

Options:
install_arguments - arguments simply passed on without
parsing to install_matlab.

Note(s): 1. Supply values for the right hand side for the
following 6 variables in this script. See the
README in the MATLAB ./install directory for further
explanation.

WATCH OUT!

If the MATLAB root directory is part of an AUTOMOUNTED
directory supply a directory path for MATLAB that does
not include any mount point information. It must be a
path that forces a mount to be done if it is currently
unmounted.

MATLAB=
OUTPUT_FILE=
WANT_ACCESS_DIR= yes OR no
ACCESS_DIR=
WANT_MAN_PAGES= yes OR no
MAN_PAGES_DIR=

NO BLANKS around the "=" in the assignments!

2. Run this script as root.

3. If this routine is sourced then the variable arglist
contains any extra arguments to be passed to
install_matlab. arglist should never be the empty
string even when there are no arguments.

Example: 1. Here is a sample dataset

MATLAB=/usr/local/matlab
OUTPUT_FILE=/tmp/install2.out
WANT_ACCESS_DIR=yes
ACCESS_DIR=/usr/local/bin
WANT_MAN_PAGES=no
MAN_PAGES_DIR=

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.8 Date: 1994/04/09 10:06:34

batch3.sh Usage: batch3.sh install_arguments

Abstract: This Bourne Shell script performs a client with license
manager (type 3) type of installation in batch.

IMPORTANT: Do not use on convex or cray!

Options:
install_arguments - arguments simply passed on without
parsing to install_matlab.

Note(s): 1. Supply values for the right hand side for the
following 6 variables in this script. See the
README in the MATLAB ./install directory for further
explanation.

WATCH OUT!

If the MATLAB root directory is part of an AUTOMOUNTED
directory supply a directory path for MATLAB that does
not include any mount point information. It must be a
path that forces a mount to be done if it is currently
unmounted.

MATLAB=
OUTPUT_FILE=
WANT_ACCESS_DIR= yes OR no
ACCESS_DIR=
WANT_MAN_PAGES= yes OR no
MAN_PAGES_DIR=
WANT_LMBOOT_LINK= yes OR no

NO BLANKS around the "=" in the assignments!

2. Run this script as root.

3. If this routine is sourced then the variable arglist
contains any extra arguments to be passed to
install_matlab. arglist should never be the empty
string even when there are no arguments.

Example: 1. Here is a sample dataset

MATLAB=/usr/local/matlab
OUTPUT_FILE=/tmp/install3.out
WANT_ACCESS_DIR=yes
ACCESS_DIR=/usr/local/bin
WANT_MAN_PAGES=no
MAN_PAGES_DIR=
WANT_LMBOOT_LINK=no

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.9 Date: 1994/04/09 10:06:53

batch4.sh Usage: batch4.sh install_arguments

Abstract: This Bourne Shell script performs a license manager only
(type 4) type of installation in batch.

IMPORTANT: Do not use on convex or cray!

Options:
install_arguments - arguments simply passed on without
parsing to install_matlab.

Note(s): 1. Supply values for the right hand side for the
following 2 variables in this script. See the
README in the MATLAB ./install directory for further
explanation.

WATCH OUT!

If the MATLAB root directory is part of an AUTOMOUNTED
directory supply a directory path for MATLAB that does
not include any mount point information. It must be a
path that forces a mount to be done if it is currently
unmounted.

MATLAB=
OUTPUT_FILE=
WANT_LMBOOT_LINK= yes OR no

NO BLANKS around the "=" in the assignments!

2. Run this script as root.

3. If this routine is sourced then the variable arglist
contains any extra arguments to be passed to
install_matlab. arglist should never be the empty
string even when there are no arguments.

Example: 1. Here is a sample dataset

MATLAB=/usr/local/matlab
OUTPUT_FILE=/tmp/install4.out
WANT_LMBOOT_LINK=no

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.9 Date: 1994/04/09 10:07:18

bld_lbin.sh
usage: bld_lbin.sh

abstract: This Bourne Shell script creates links to the MATLAB
./bin scripts if desired.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.14 Date: 1994/04/05 14:05:31

bld_sbin.sh
usage: bld_sbin.sh

abstract: This Bourne Shell script builds the scripts and installs them
in the bin directory.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.15 Date: 1994/04/05 14:05:59

clearsc.sh
usage: clearsc.sh

abstract: This Bourne Shell clears the screen.

note(s): 1. This routine must be called using a . (period)
2. Added two blank lines in case the clear doesn't work.

Copyright (c) 1992-93 by The MathWorks, Inc.
Revision: 1.5 Date: 1993/06/09 15:12:22

cont.sh
usage: cont.sh

abstract: This Bourne Shell script queries the user to continue
or not.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.7 Date: 1994/04/11 11:12:50

echon.sh
usage: echon.sh

abstract: This Bourne Shell script echos a string without a newline.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-93 by The MathWorks, Inc.
Revision: 1.4 Date: 1993/06/09 15:15:14
fcleanpe.sh
usage: fcleanpe.sh

abstract: Final cleaning of the $MATLAB files associated with
the piece designated by the value of the envionment
variable PIECE_PATH. This is ONLY for cleaning out
pre 4.2 files. In most cases there is nothing to do
since icleanpe.sh was called at an earlier time and
handles the cleaning.

note(s): 1. If $MATLAB/update/pd/$piece_path/.b exists then there
is nothing to do.

2. The following variables must exist in the environment

MATLAB
PIECE_PATH

3. This routine must be called using a . (period)

Copyright (c) 1994 by The MathWorks, Inc.
Revision: 1.4 Date: 1994/04/12 15:15:40

fin.sh
usage: fin.sh

abstract: This Bourne Shell script outputs messages at the end
of an installation.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.4 Date: 1994/04/11 11:13:08

getlmhid.sh
usage: getlmhid.sh

abstract: This Bourne Shell script gets lmhostid.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.3 Date: 1994/04/06 19:29:10

getver.sh
usage: getver.sh

abstract: This Bourne Shell script returns the version string
for the object.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1994 by The MathWorks, Inc.
Revision: 1.4 Date: 1994/03/23 21:45:54

icleanpe.sh
usage: icleanpe.sh
icleanpe (when executed from the CDROM)

abstract: Initial cleaning of the $MATLAB files associated with
the piece designated by the value of the envionment
variable PIECE_PATH. This is ONLY for cleaning out
pre 4.2 files.
note(s): 1. If $MATLAB/update/pd/$piece_path/.b exists then there
is nothing to do.

2. The following variables must exist in the environment

MATLAB
PIECE_PATH

3. This file is sourced by the normal install but executed
by the CDROM setup.

Copyright (c) 1994 by The MathWorks, Inc.
Revision: 1.5 Date: 1994/04/12 20:51:29

intro_c.sh
usage: intro_c.sh

abstract: This Bourne Shell script outputs the client
introduction.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-93 by The MathWorks, Inc.
Revision: 1.6 Date: 1993/12/06 15:21:22

intro_cl.sh
usage: intro_cl.sh

abstract: This Bourne Shell script outputs the CLIENT WITH LICENSE
MANAGER introduction.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.8 Date: 1994/01/13 16:57:56

intro_l.sh
usage: intro_l.sh

abstract: This Bourne Shell script outputs the LICENSE MANAGER
introduction.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.6 Date: 1994/01/13 16:58:15

intro_s.sh
usage: intro_s.sh

abstract: This Bourne Shell script outputs the standalone/server
introduction.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.11 Date: 1994/01/13 16:58:37

lm.sh
usage: lm.sh

abstract: This Bourne Shell script installs the license manager.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.

local.sh
usage: local.sh

abstract: This Bourne Shell script moves .MW files to .m files if
.m files do not exit and creates siteid.m from
siteid.m.skel all in the ./toolbox/local directory.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.12 Date: 1994/04/14 10:45:34

main.sh
usage: main.sh

abstract: This Bourne Shell script is the main install program
for Matlab 4.x.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1986-94 by The MathWorks, Inc.
Revision: 1.29 Date: 1994/04/12 15:12:11

man.sh
usage: man.sh

abstract: This Bourne Shell script gets the man directory for
MATLAB and installs the man pages.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.11 Date: 1994/04/07 10:49:42

mapname.sh
usage: mapname.sh

abstract: This Bourne shell script maps the filenames to the
proper names. This is all necessary because of the
CDROM.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1994 by The MathWorks, Inc.
Revision: 1.8 Date: 1994/04/12 11:18:23

mklicdat.sh
usage: mklicdat.sh

abstract: This Bourne Shell script writes a template license file
to a specified path.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.1 Date: 1994/04/06 19:03:02

netruser.sh
usage: netruser.sh

abstract: This Bourne Shell script determines if the user has
NETWORK root privileges in the MATLAB root directory.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.5 Date: 1994/04/05 16:24:39

options.sh
usage: options.sh

abstract: This Bourne Shell script parsers the options on the
command line.

note(s): 1. This routine must be called using a . (period)
2. Options:

-h Help. Show command usage.
-l Output hostname and lmhostid for this host only.
-o Place a template license file in the path given by
license_file. It will never replace an existing file.
-x Extract files only, i.e. do updating only.
-t Terse mode. Only print screens that are critical
to the installation.
-b Batch mode. Ignore all queries to continue.
-u User mode. Ignore checking for root and network root.
MathWorks, Inc. internal user only.
type Type of installation: (except c2mp and cray)
1 - standalone/server
2 - client
3 - client with license manager
4 - license manager only
type Type of installation: (c2mp and cray)
1 - standalone/server
2 - client

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.12 Date: 1994/04/11 11:15:29

perm.sh
usage: perm.sh

abstract: This Bourne Shell script checks permissions on files
and sets the umask under user control.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1994 by The MathWorks, Inc.
Revision: 1.6 Date: 1994/04/05 16:28:47

ruser.sh
usage: ruser.sh

abstract: This Bourne Shell script determines if the user
executing this program is root.

note(s): 1. This routine must be called using a . (period)
2. Requires the 'id' command to execute without user
intervention.

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.8 Date: 1994/04/05 16:33:41

searchp.sh
usage: searchp.sh

abstract: This Bourne Shell script searches all the directories in your
PATH for a command and output the ones to the pathlist
variable.

note(s): 1. This routine must be called using a . (period)
2. The global variable 'cmd' is the command.

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.6 Date: 1994/03/23 22:00:42

tbxquery.sh
usage: tbxquery.sh

abstract: This Bourne Shell script queries the user for the answers
to toolbox questions which will eventually be handled
by the update procedure NOT install.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1993 by The MathWorks, Inc.
Revision: 1.7 Date: 1994/04/05 16:38:12

ucleanpe.sh
usage: ucleanpe.sh

abstract: Update cleaning of the $MATLAB files associated with
the piece designated by the value of the envionment
variable PIECE_PATH. This is only for 4.2 and later.

note(s): 1. We currently only handle the case when there are both
files .b and b exist in

$MATLAB/update/pd/$piece_path/.b

It is assumed that .b and b already exist.

The complete algorithm will be implemented later.

2. The following variables must exist in the environment

MATLAB
PIECE_PATH

3. Current algorithm: (simple case)

If .b and b are the same then nothing to do.

Remove the first line of both files and any files
in .b and b are determined and then removed.

4. This routine must be called using a . (period)

Copyright (c) 1994 by The MathWorks, Inc.
Revision: 1.2 Date: 1994/04/07 10:38:17

undotarZ.sh
usage: undotarZ.sh

abstract: This Bourne Shell script checks to see if a compressed
tar file is there. If so, it decompresses and untars the
files from the single matlab.Z file. This file is
currently made by the 9 track distribution.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.5 Date: 1994/04/05 16:40:21

update.sh
usage: update.sh

abstract: This Bourne Shell script updates the distribution files
There are three steps.

1. attempt to decrypt any files
2. initial cleaning MATLAB area (pre 4.2 area)
3. decompress and detar any files
4. final cleaning MATLAB area (pre 4.2 area and later.)

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1994 by The MathWorks, Inc.
Revision: 1.6 Date: 1994/04/12 11:19:45

verifyp.sh
usage: verifyp.sh

abstract: This Bourne Shell script verifies the MATLAB path determined
by install_matlab with the user. This is necessary to cover
all cases including the case when the MATLAB root directory
is in an automounted directory. A new path may be supplied by
the user.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.11 Date: 1994/04/05 16:46:51

version.sh
usage: version.sh

abstract: This Bourne Shell script returns the version of the
install.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-93 by The MathWorks, Inc.
Revision: 1.2 Date: 1994/01/04 22:20:11

welcome1.sh
usage: welcome1.sh

abstract: This Bourne Shell script prints the screen 1 of the
welcome message.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-94 by The MathWorks, Inc.
Revision: 1.6 Date: 1994/01/20 22:21:31

welcome2.sh
usage: welcome.sh

abstract: This Bourne Shell script prints the welcome2 message.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-93 by The MathWorks, Inc.
Revision: 1.5 Date: 1993/06/09 15:56:34

whichi.sh
usage: whichi.sh

abstract: This Bourne Shell script prints out the list of types of
install.

note(s): 1. This routine must be called using a . (period)

Copyright (c) 1992-93 by The MathWorks, Inc.
Revision: 1.4 Date: 1993/12/06 15:38:50

Compiled by Jerod M. Parker(jparker@bass.gmu.edu)

June 1994