Web
Newsgroup
Technical Support
Product enhancement suggestions
Bug reports
Documentation error reports
Order status, license renewals, passcodes
Sales, pricing, and general information
508-647-7000 (Phone)
508-647-7001 (Fax)
The MathWorks, Inc.
3 Apple Hill Drive
Natick, MA 01760-2098
For contact information about worldwide offices, see the MathWorks Web site.
COPYRIGHT 1996-2010 by The MathWorks, Inc.
The software described in this document is furnished under a license agreement. The software may be used or copied
only under the terms of the license agreement. No part of this manual may be photocopied or reproduced in any form
without prior written consent from The MathWorks, Inc.
FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by, for, or
through the federal government of the United States. By accepting delivery of the Program or Documentation,
the government hereby agrees that this software or documentation qualifies as commercial computer software or
commercial computer software documentation as such terms are used or defined in FAR 12.212, DFARS Part 227.72,
and DFARS 252.227-7014. Accordingly, the terms and conditions of this Agreement and only those rights specified in
this Agreement, shall pertain to and govern the use, modification, reproduction, release, performance, display, and
disclosure of the Program and Documentation by the federal government (or other entity acquiring for or through
the federal government) and shall supersede any conflicting contractual terms or conditions. If this License fails to
meet the governments needs or is inconsistent in any respect with federal procurement law, the government agrees
to return the Program and Documentation, unused, to The MathWorks, Inc.
Trademarks
MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks
for a list of additional trademarks. Other product or brand names may be trademarks or registered
trademarks of their respective holders.
Patents
MathWorks products are protected by one or more U.S. patents. Please see www.mathworks.com/patents
for more information.
1996
1997
1998
1999
1999
2000
2001
2002
12
5
3
1
11
11
6
7
1
2
3
4
5
6
7
8
2004
2004
2005
2005
2006
2006
2007
2007
2008
2008
2009
2009
2010
2010
6
10
3
9
3
9
3
9
3
10
3
9
3
9
9
10
11
12
13
14
MATLAB 5.0 ( 8)
MATLAB 5.1 ( 9)
MATLAB 5.2 ( 10)
MATLAB 5.3 ( 11)
MATLAB 5.3.1 ( 11.1)
MATLAB 6.0 ( 12)
MATLAB 6.1 ( 12.1)
MATLAB 6.5 ( 13)
Windows
MATLAB 7.0 ( 14)
MATLAB 7.0.1 ( 14SP1)
MATLAB 7.0.4 ( 14SP2)
MATLAB 7.1 ( 14SP3)
MATLAB 7.2 ( 2006a)
MATLAB 7.3 ( 2006b)
MATLAB 7.4 ( 2007a)
MATLAB 7.5 ( 2007b)
MATLAB 7.6 ( 2008a)
MATLAB 7.7 ( 2008b)
MATLAB 7.8 ( 2009a)
MATLAB 7.9 ( 2009b)
MATLAB 7.10 ( 2010a)
MATLAB 7.11 ( 2010b)
1
MathWorks . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . .
8: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . .
1-2
1-2
1-4
1-5
1-8
1-9
1-11
1-14
1-15
1-16
1-18
1-20
1-21
. . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: MathWorks . . . . . . . . . . . . . .
4: . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . . . .
1-23
1-23
. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2: . . .
3: . . . . . . . . . . . . . . . . . . . . . .
4: . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . . . . . .
1-35
1-35
1-37
1-39
1-40
1-41
1-44
1-24
1-26
1-28
1-30
1-31
1-32
1-33
6: . . . . . . . . . . . . . . . .
7: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9: . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . .
13: . . . . . . . . . . . . . . . . . . . .
1-45
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . .
1-55
1-55
1-56
1-56
1-56
1-56
MathWorks () . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . .
Macintosh . . . . . . . . . . . .
1-58
1-58
1-61
1-62
. . . . . . . . . . . . . . . . . . . . . . .
1-63
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Macintosh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-69
1-69
1-70
1-70
1-46
1-46
1-49
1-49
1-50
1-51
1-53
vi
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2
. . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2-4
2-4
2-6
2:
..............................................
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . .
7: MATLAB . . . .
8: . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . .
13: . . .
MathWorks
..................................................
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . .
7: MATLAB . . . .
8: . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . .
10: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . .
2-8
2-10
2-11
2-13
2-15
2-15
2-16
2-18
2-19
2-20
2-23
2-23
2-25
2-25
2-27
2-28
2-30
2-31
2-33
2-35
2-36
2-37
2-38
2-39
2-41
2-44
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . . . .
Macintosh
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
2-45
2-45
2-47
( ) . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
2-55
2-55
2-55
2-48
2-50
vii
3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2
3-2
3-2
3-5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-6
3-6
3-7
Index
viii
MathWorks
Linux (32 64 )
Mac OS X
MathWorks (p.1-2)
(p.1-23)
(p.1-35)
(p.1-55)
MathWorks () (p.1-58)
(p.1-63)
(p.1-69)
MathWorks
...
(p.1-2)
1: (p.1-4)
2: (p.1-5)
3: (p.1-8)
4: MathWorks (p.1-9)
5: (p.1-11)
6: (p.1-14)
7: (p.1-15)
8: ( ) (p.1-16)
9: ( ) (p.1-18)
10: (p.1-20)
11: (p.1-21)
MathWorks
MathWorks
LEU (
) MathWorks
1-2
MathWorks
MATLAB
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
(p.1-35)
2 ,
MATLAB
1-3
MATLAB
10
9 MATLAB
9
1:
/path_to_dvd/install &
1-4
MathWorks
./install
2:
[
] []
MathWorks
[
] []
1-5
1-6
Click Next.
MathWorks
[]
[]
MathWorks
1-7
3:
[]
[]
license.txt
Select Yes.
1-8
Click Next.
MathWorks
4: MathWorks
MathWorks
[] MathWorks
MathWorks [MathWorks ]
[]
[ ]
MathWorks Web
Click Next.
1-9
MathWorks
MathWorks Web []
1-10
Click Next.
MathWorks
5:
MathWorks
[]
MathWorks Web
[Unset]
MathWorks
[ ]
[]
MathWorks
1-11
Select a license.
Click Next.
[ ]
[
]
1-12
MathWorks
Click Next.
1-13
6:
[ ] [] []
[]
[]
(
) []
Select Typical or Custom.
Click Next.
1-14
MathWorks
7:
MathWorks
[]
Macintosh MATLAB
MATLAB_R2010b.app Applications
[]
[]
Specify name of installation folder.
Click Next.
1-15
8: (
)
[]
[]
Click Next.
MathWorks Web
DVD
1-16
MathWorks
[] []
DVD
[]
[ ]
[
]
[]
Click Next.
Clear selection
of all product
downloads.
Total download
size.
1-17
9: (
)
Windows
Windows [ ]
[] MATLAB
MATLAB
[]
Click Next.
1-18
MathWorks
.ctfx
MATLAB
.fig
MATLAB Figure
.m
MATLAB
.mat
MATLAB
.mdl
Simulink
.mdlp
Simulink
.mex*
MATLAB MEX:
.mexw32 .mexw64
.mn
MuPAD
.mu
MuPAD
.muphlp
MuPAD
.p
MATLAB P
.ssc
Simscape
.xvc
MuPAD
.xvz
MuPAD
Linux
Linux matlab mex
/usr/local/bin
[]
1-19
10:
[]
[]
Click Install.
1-20
MathWorks
DVD
MathWorks Web
[]
Click Next.
11:
[]
MathWorks
MathWorks
[]
1-21
[MATLAB
] []
To activate your software, leave this selected.
(p.1-23)
1-22
...
1: (p.1-23)
2: (p.1-24)
3: MathWorks (p.1-26)
4: (p.1-28)
5: (p.1-30)
6: (p.1-31)
7: (p.1-32)
8: (p.1-33)
1:
[] [MATLAB
]
MATLAB
MATLAB [] [] > [
]
MATLAB
Windows [ ] [
] > [MATLAB] > [R2010b] [MATLAB R2010b
]
1-23
Macintosh MATLAB
MATLAB
(
control ) []
2:
"" MathWorks
MathWorks
[
]
Click Next.
1-24
MathWorks
[]
MathWork
If you have an Internet connection,
leave this option selected.
Click Next.
[]
[]
MathWorks
1-25
(p.3-2)
3: MathWorks
:
MathWorks []
MathWorks
MathWorks [MathWorks ]
[]
[ ]
[]
[]
1-26
Click Next.
MathWorks
MathWorks Web []
1-27
Click Next.
4:
:
MathWorks
[]
1-28
MathWorks Web
[Unset]
MathWorks
[ ]
[]
MathWorks
Select a license.
License labels
License option
and activation type
Click Next.
1-29
MathWorks
5:
:
[ ]
[
]
[]
Click option to choose activation type.
Click Next.
1-30
6:
: []
MathWorks
ID
MathWorks
[
] []
[
]
[]
MathWorks
1-31
Click Next.
7:
[]
MathWorks
( [ ]
)
MathWorks
MathWorks
1-32
Click Activate.
8:
[]
1-33
Click Finish.
1-34
...
(p.1-35)
1: (p.1-37)
2: (p.1-39)
3: (p.1-40)
4: (p.1-41)
5: (p.1-44)
6: (p.1-45)
7: ( ) (p.1-46)
8: ( ) (p.1-46)
9: (p.1-49)
10: (p.1-49)
11: (p.1-50)
12: (p.1-51)
13: (p.1-53)
MathWorks Web
1-35
MATLAB
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
MathWorks
(p.1-2)MathWorks
(p.2-4)
1-36
1:
/path_to_dvd/install &
1-37
./install
Windows
DVD DVD MathWorks Web
Linux
DVD DVD
/path_to_dvd/install &
1-38
./install
Macintosh
DVD MathWorks DVD
MathWorks Web DVD
DVD
InstallForMacOSX
2:
[
] []
1-39
Click Next.
3:
[]
[]
license.txt
1-40
Select Yes.
Click Next.
4:
[
]
[ ]
[]
MathWorks Web
[ ]
[]
1-41
Click Next.
[]
MathWorks Web (License Center)
1-42
ID
(R2010b )
(
)
Click Finish.
1 []
2 MathWorks Web
MathWorks
4
1-43
5:
[ ]
[]
[]
(
) []
Select Typical or Custom.
Click Next.
1-44
6:
MathWorks
[]
Macintosh MATLAB
MATLAB_R2010b.app Applications
[]
[]
Specify name of installation folder.
Click Next.
1-45
7: (
)
[]
[]
Click Next.
8: (
)
1-46
Windows
Windows [ ]
[] MATLAB
MATLAB
[]
Click Next.
1-47
.ctfx
MATLAB
.fig
MATLAB Figure
.m
MATLAB
.mat
MATLAB
.mdl
Simulink
.mdlp
Simulink
.mex*
MATLAB MEX:
.mexw32 .mexw64
.mn
MuPAD
.mu
MuPAD
.muphlp
MuPAD
.p
MATLAB P
.ssc
Simscape
.xvc
MuPAD
.xvz
MuPAD
Linux
Linux matlab mex
/usr/local/bin
[]
1-48
9:
[]
[]
Click Install.
10:
[]
MathWorks
[]
[MATLAB
] [] (
1-49
11:
MathWorks
[
] []
1-50
Click Next.
12:
MathWorks Web
[ ]
[]
[ ]
[]
1-51
Click Next.
[
]
ID
(: R2010b)
(
)
[]
1-52
MathWorks Web
(License Center) MathWorks
[]
:
MATLAB
Note the information
you need for activation.
To save this
information,
click Print.
To exit the
activation process,
click Close.
13:
[]
1-53
Click Finish.
1-54
...
MATLAB (p.1-55)
(p.1-56)
MATLAB (p.1-56)
MATLAB (p.1-56)
MATLAB (p.1-56)
MATLAB
MATLAB
Windows :
[ ]
MATLAB
Linux
matlab [
]
matlabroot/bin/matlab
matlabroot MATLAB
1-55
Macintosh
MATLAB
MATLAB MathWorks
MathWorks Web
MATLAB
MATLAB
() My Documents\MATLAB (
9: ( ) (p.1-18)
)
MATLAB
MATLAB
MATLAB
MATLAB matlabroot\toolbox\local startup.m
MATLAB startup.m
local startupsav.m
MATLAB
MATLAB MATLAB
MATLAB
1-56
MATLAB
MATLAB
MATLAB []
MATLAB
MATLAB []
HTML
1-57
MathWorks ()
MathWorks
: 2
(p.1-63)
Windows
MathWorks
1 MATLAB
2
matlabroot/uninstall/bin/$ARCH matlabroot
MATLAB $ARCH win32
uninstall.exe
(p.1-60)
3 [] [
]
MATLAB MathWorks
1-58
MathWorks ()
Click Uninstall.
MathWorks
MATLAB
[OK] []
(p.3-5)
MATLAB [MATLAB
]
MATLAB
MATLAB
MATLAB prefdir
prefdir
ans =
C:\WINNT\Profiles\username\Application Data\MathWorks\MATLAB\R2010b
username
1-59
4 ()
MATLAB
matlabroot/archives
[]
5 []
[] MATLAB
(p.1-63)
Click Finish.
MATLAB uninstall
uninstaller_input.txt
1-60
MathWorks ()
Windows
outputFile=
MATLAB
mode=automated []
3
4 -inputFile
(uninstall.exe)
[] []
[] uninstall
uninstall.exe -inputFile C:\temp\my_uninstall.txt
Linux
:
(p.1-63)
1 MATLAB
1-61
matlabroot/etc lmdown
3 Linux
rm -rf matlabroot
matlabroot MATLAB
Macintosh
: MATLAB
MATLAB
1 Macintosh
MATLAB
2 MATLAB MATLAB
lmdown
3 MATLAB
Applications MATLAB_R2010b.app
4 MATLAB [Finder] [
1-62
MathWorks
2
MathWorks
MathWorks
MathWorks Web
: 2
MathWorks
() (p.1-58)
1-63
MATLAB [] > []
MATLAB matlabroot
Windows :
matlabroot\uninstall\bin\win32\deactivate_matlab.exe
Linux
matlabroot/bin/deactivate_matlab.sh
Macintosh
/Applications/MATLAB_R2010b.app/bin/deactivate_matlab.sh
Windows [] [
] > [MATLAB] > [R2010b] > [MATLAB R2010b ]
2 []
MATLAB
1-64
Click Deactivate.
[]
[OK]
[MathWorks ]
3 []
MathWorks
1-65
4 [OK]
MathWorks
[
] [OK] [MathWorks
]
Click OK.
MathWorks
[]
MathWorks Web
1-66
[OK] [MathWorks
]
Deactivation string.
Click OK.
5 [MathWorks
[] [
]
1-67
Status of license.
Click Close.
1-68
...
Windows (p.1-69)
Macintosh (p.1-70)
Linux (p.1-70)
FLEXnet 11.6.1
MathWorks MATLAB
MATLAB
FLEXnet
TCP/IP
Windows
32 64 MathWorks
RAM
SSE2
Intel
AMD x86
1 GB
(MATLAB )
1,024 MB
3 4 GB
( 2048 MB
)
1-69
32 64 MathWorks ()
RAM
Pack 2 R2
Windows 7
Macintosh
32 64 MathWorks
RAM
Mac OS X 10.5.5
(Leopard)
Intel
Macintosh
Intel Core 2
1 GB
(MATLAB )
1,024 MB
Mac OS X 10.6.x
(Snow Leopard)
3 4 GB
( 2048
MB )
Linux
32 64 MathWorks
RAM
*:
SSE2
Intel AMD x86
1 GB
(MATLAB )
1,024 MB
Debian 5.x
Red Hat Enterprise Linux
5.x
SUSE Linux Enterprise
Desktop 11.x
1-70
3 4 GB
( 2048 MB
)
32 64 MathWorks ()
RAM
1-71
1-72
[] [ ]
MathWorks
Linux (32 64 )
Mac OS X
MathWorks 1 ,
(p.2-2)
(p.2-4)
MathWorks (p.2-25)
(p.2-45)
( ) (p.2-55)
-
FLEXnet
FLEXnet
(p.2-4)
MathWorks -
MathWorks
MathWorks
MathWorks -
MathWorks
MathWorks (p.2-25)
(
) (p.2-55)
2-2
:
MathWorks Web
2-3
...
(p.2-4)
1: (p.2-6)
2: (p.2-8)
3: (p.2-10)
4: MathWorks (p.2-11)
5: (p.2-13)
6: (p.2-15)
7: MATLAB (p.2-15)
8: (p.2-16)
9: (p.2-18)
10: (p.2-19)
11: (p.2-20)
12: (p.2-23)
13: (p.2-23)
: MATLAB
2-4
MathWorks
MathWorks
MathWorks
MathWorks Web
ID MathWorks
(p.2-45)
MATLAB
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
2-5
MathWorks
[Authenticate]
1 MathWorks
MathWorks (p.2-25)
MATLAB
MATLAB
MATLAB
:
2
1:
2-6
/path_to_dvd/install &
2-7
./install
2:
[
] []
MathWorks
[
] []
2-8
Click Next.
2-9
[]
[]
MathWorks
(p.1-35)
3:
[]
[]
license.txt
2-10
Select Yes.
Click Next.
4: MathWorks
:
MathWorks
[] MathWorks
MathWorks [MathWorks ]
[]
[ ]
MathWorks Web
2-11
Click Next.
MathWorks
MathWorks Web []
2-12
Click Next.
5:
MathWorks
[]
MathWorks Web
2-13
[Unset]
MathWorks
[ ]
[]
Select a network license.
License label
License option
and activation type
Click Next.
MathWorks
2-14
6:
[]
[]
To install the license
manager, select Custom.
Click Next.
7: MATLAB
MathWorks
[]
Macintosh MATLAB
MATLAB_R2010b.app Applications
2-15
[]
[]
Specify name of installation folder.
Click Next.
8:
MathWorks
(
)
[] []
(p.3-5)
2-16
Click Next.
2-17
9:
[]
MathWorks Web
MathWorks
license.dat matlabroot/etc
matlabroot MATLAB
Specify full path of License File.
Click Next.
2-18
MathWorks Web
license.dat MATLAB
\etc
matlabroot/etc matlabroot
MATLAB
10:
Windows
MathWorks
Windows
[]
:
[
]
2-19
Click Next.
Macintosh
[Next]
11:
[]
[]
2-20
Click Install.
[]
2-21
Click Next.
2-22
12:
[]
[]
MATLAB
Click Finish.
13:
MathWorks
-
(p.2-19)
2-23
MathWorks
-
MathWorks
DVD
MathWorks
MathWorks
2-24
- MathWorks
(p.2-25)
MathWorks
MathWorks
...
(p.2-25)
1: (p.2-27)
2: (p.2-28)
3: (p.2-30)
4: MathWorks (p.2-31)
5: (p.2-33)
6: (p.2-35)
7: MATLAB (p.2-36)
8: (p.2-37)
9: (p.2-38)
10: ( ) (p.2-39)
11: (p.2-41)
12: (p.2-44)
MathWorks
MathWorks
MathWorks
2-25
(p.2-45)
MATLAB
2-26
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
MathWorks
( ) (p.2-55)
MATLAB
MATLAB
MATLAB
1:
/path_to_dvd/install &
2-27
./install
2:
[
] []
MathWorks
[
] []
2-28
MathWorks
Click Next.
2-29
[]
[]
MathWorks
(p.1-35)
3:
[]
[]
license.txt
2-30
MathWorks
Select Yes.
Click Next.
4: MathWorks
MathWorks
[] MathWorks
MathWorks [MathWorks ]
[]
[ ]
MathWorks Web
2-31
Click Next.
MathWorks
MathWorks Web []
2-32
MathWorks
Click Next.
5:
:
MathWorks
[]
2-33
MathWorks Web
[Unset]
[
]
Select a network license.
2-34
License label
Click Next.
License option
and activation type
MathWorks
6:
:
[]
[ ]
[]
[]
(
) []
Select Typical or Custom.
Click Next.
2-35
7: MATLAB
MathWorks
[]
Macintosh MATLAB
MATLAB_R2010b.app Applications
[]
[]
Specify name of installation folder.
Click Next.
2-36
MathWorks
8:
[]
[] []
(p.3-5)
Do not select the license manager.
Click Next.
2-37
9:
[]
MathWorks Web
MathWorks
license.dat matlabroot/etc
matlabroot MATLAB
Specify full path of License File.
Click Next.
2-38
MathWorks
network.lic
MATLAB \licenses
10: (
)
Windows
Windows [ ]
[] MATLAB
MATLAB
[]
2-39
Click Next.
2-40
.ctfx
MATLAB
.fig
MATLAB Figure
.m
MATLAB
.mat
MATLAB
.mdl
Simulink
.mdlp
Simulink
.mex*
MATLAB MEX:
.mexw32 .mexw64
.mn
MuPAD
.mu
MuPAD
MathWorks
.muphlp
MuPAD
.p
MATLAB P
.ssc
Simscape
.xvc
MuPAD
.xvz
MuPAD
Linux
Linux matlab mex
/usr/local/bin
[]
11:
[]
[]
2-41
Click Install.
DVD
MathWorks Web
[]
2-42
MathWorks
Click Next.
2-43
12:
MathWorks []
[]
Click Finish.
2-44
...
(p.2-45)
Linux (p.2-47)
Macintosh
(p.2-48)
(p.2-50)
MATLAB
Windows Macintosh
(Linux
Linux
(p.2-47))
Windows (p.2-45)
Linux (p.2-46)
Macintosh (p.2-46)
Windows
Windows
Windows []
Windows [] [] > [
] > [] > []
2-45
[Start/Stop/Reread]
Linux
Linux lmstart
(matlabroot/etc ) lmstart
lmstart
(lmgrd)
su
lmgrd
su username -c "lmgrd -c license_file -l /var/tmp/LM_TMW.log"
username
Macintosh
:
1 Terminal (/Applications/Utilities)
2 MATLAB
cd /Applications/MATLAB_R2010b.app/etc
2-46
./lmgrd
license.dat lmstart
lmstart
Linux
Linux
MathWorks
Bourne matlabroot/etc/flexnet.boot.linux
Bourne
1 root
2 ()
ln -s matlabroot/etc/lmboot /etc/lmboot_TMW
ln -s matlabroot/etc/lmdown /etc/lmdown_TMW
3 32 64
Debian
SUSE
cp matlabroot/etc/flexnet.boot.linux /etc/init.d/flexnet
Red Hat
Fedora Core
cp matlabroot/etc/flexnet.boot.linux
/etc/rc.d/init.d/flexnet
4 flexnet
2-47
5 /etc/inittab
6 rc
32 64 Linux
5
Debian
cd /etc/rc5.d;
ln -s ../init.d/flexnet S90flexnet
Red Hat
Fedora Core
cd /etc/rc.d/rc5.d;
ln -s ../init.d/flexnet S90flexnet
SUSE
cd /etc/init.d/rc5.d;
ln -s ../flexnet S90flexnet
Linux
SUSE 10 /etc/init.d
.depend.start
/etc/init.d/.depend.start
flexnet: network
6 S90flexnet symlink
S99flexnet
Macintosh
1 /Library
2-48
2 StartupItems
3 matlabroot/etc/MATLABLmgr StartupItems
4 /etc/MATLABlmgr config_lm.sh
(/Applications/Utilities
)
cd /Library/StartupItems/MATLABLmgr
./config_lm.sh
5 MathWorks
MathWorks /Applications/MATLAB_R2010b
/Applications/MATLAB_R2010b
6 whoami
MATLABLmgr
1 [Finder] [] []
2 []
/Library/StartupItems/MATLABLmgr
[] MATLABLmgr
2-49
3 StartupParameters.plist StartupParameters_disabled.plist
1 3
StartupParameters_disabled.plist StartupParameters.plist
Macintosh
1 [Finder] [] []
2 []
/Library/StartupItems/MATLABLmgr
[] MATLABLmgr
3 MATLABLmgr [Finder] [
FLEXnet
MATLAB PDF
(matlabroot\etc\LicenseAdministration.pdf)
(p.2-51)
2-50
LMTOOLS GUI
matlabroot MATLAB
$ARCH win32
2 [Server Status]
3 [Perform Status Enquiry] LMTOOLS
lmutil lmstat -a
FLEXnet
2-51
matlabroot\etc\$ARCH matlabroot
MATLAB $ARCH win32
DOS lmstat
lmutil
lmutil lmstat -a -c "C:\Program Files\MATLAB\R2010b\etc\license.dat"
-a -c
lmutil
lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
Flexible License Manager status on Fri 6/18/2010 10:11
[Detecting lmgrd processes...]
License server status: 27000@customerj
License File(s) on customerj: C:\Program Files\MATLAB\R2010b\etc\license.dat:
customerj: license server UP (MASTER) v.11.6
Vendor daemon status (on customerj):
MLM: UP v11.6
Feature usage info:
Users of MATLAB: (Total of 5 licenses available)
Users of SIMULINK: (Total of 5 licenses available)
Users of Control_Toolbox: (Total of 5 licenses available)
Users of Identification_Toolbox: (Total of 5 licenses available).
2-52
lmutil
lmutil -h
-h
lmutil lmstat -h
Linux Macintosh
matlabroot/etc
lmstat
lmstat -a
lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.
Flexible License Manager status on Fri 6/18/2010 10:11
License server status: 27000@customerj
License File(s) on customerj: /user/local/MATLAB/R2010b/etc/license.dat:
customerj: license server UP (MASTER) v.11.6
Vendor daemon status (on customerj):
MLM: UP v11.6
Feature usage info:
Users of MATLAB: (Total of 5 licenses available)
Users of SIMULINK: (Total of 5 licenses available)
-h
lmstat -h
2-53
lmdiag
lmdown
(lmgrd )
lmhostid
ID
lmreread
: lmreread
FLEXnet
INCLUDE 15
2-54
lmstat
lmswitchr
lmver
( )
( )
...
(p.2-55)
(p.2-55)
MATLAB
MathWorks
( )
Windows
copy Z:\installer_input.txt C:\temp\my_installer_input.txt
2
destinationFolder=
2-55
destinationFolder=C:\Program Files\MATLAB\R2010b
fileInstallationKey=
3
4 -inputFile
Windows [] [
] []
setup.exe -inputFile C:\temp\my_installer_input.txt
Linux Macintosh
2-56
MathWorks
(p.3-2)
(p.3-6)
MathWorks
MATLAB
MathWorks Web
(www.mathworks.co.jp/support/)
...
(p.3-2)
(p.3-2)
(p.3-5)
Microsoft Windows
DVD setup.exe
MathWorks
[]
[] (
MathWorks
(p.3-3))
3-2
Click OK.
MathWorks
MathWorks MathWorks MathWorks
MathWorks
MathWorks
3 [] [
3-3
1 ,
4 []
[MATLAB ]
[]
5 [MathWorks ]
[]
[] []
[]
[OK]
3-4
Click OK.
[MathWorks ]
[]
6 []
[]
: [
]
7 []
[] []
[OK]
[]
3-5
MATLAB
MathWorks FLEXnet
matlabroot\etc\$ARCH FLEXnet lmlog.txt
(p.2-50)
MathWorks Web
(www.mathworks.co.jp) [Support] Support
[ ]
Select an error.
matlabroot\etc\LicenseAdministration.pdf PDF FLEXnet
Publisher Licensing Toolkit
3-6
27000
DAEMON port= <>
ASCII
INCREMENT
( INCREMENT
) (\)
(#) MathWorks
(
ID )
3-7
HostID: INTERNET=144.212.101.43
MATLAB
MATLAB
1 MATLAB -c
-c
-c
2 MATLAB MATLAB
2
MLM_LICENSE_FILE
3-8
MLM_LICENSE_FILE
MathWorks (MathWorks
)
LM_LICENSE_FILE
FLEXnet
3-9
3-10
Index
A
boot scripts
use by installer 2-47
INCREMENT lines
D
daemons
opening access in security firewalls 3-6
starting 2-46
deactivating MATLAB installations 1-63
deactivation string
deactivating without an Internet connection 1-63
retrieving 1-66
Designated Computer activation type
selecting during activation 1-30
F
file associations
specifying during installation 1-18
File Installation Key
entering for off-network installation 1-41
obtaining 1-42
required for off-network installations 1-35
firewalls
opening access to license manager daemons 3-6
FLEXnet
troubleshooting 3-6
H
host ID
in License File 3-7
Index-1
Index
install_input.txt 2-55
installation folder
specifying 1-15
specifying for off-network installations 1-45
specifying in network installations 2-36
on systems running Windows 2-15
installation options
specifying file associations 1-18
specifying in network installations 1-46 2-39
installation procedure
network 2-4
network client 2-25
noninteractive 2-55
installation type
choosing during standalone installations 1-14
choosing typical or custom 1-44
choosing typical or custom in network installations
on systems running Windows 2-15 2-35
installer
running noninteractively 2-55
starting 1-4 1-37 2-6 2-27
installer input file
specifying 2-55
installing
starting the installer manually 3-2
turning off virus-checking software during
installation 3-2
installing MATLAB
choosing automatic or manual in network
installations
on systems running Windows 2-8 2-28
choosing automatic or manual installation 1-5
choosing manual for off-network
installations 1-39
in network configurations 2-1
in standalone environments 1-2
preparing for installation in standalone
environments 1-2
preparing for off-network installations 1-35
preparing to install in a network configuration
Index-2
L
License Files
comment lines 3-7
getting the information you need to obtain 1-52
INCREMENT lines 3-7
processing in installation
on systems running Windows 2-19 2-39
required for off-network installations 1-35
search path 3-7
specifying during activation after off-network
installation 1-51
specifying location in network installation 2-18
2-38
license manager
automating startup
on Macintosh systems 2-48
configuring in network installation 2-19
disabling 2-49
installing on server in network configurations 2-4
re-enabling 2-50
removing 2-50
starting automatically at boot time 2-47
starting daemons 2-46
startup problem 2-46
troubleshooting 3-6
using the LMTOOLS GUI 2-50
utility programs 2-51
license numbers
selecting during activation 1-28
license options
viewing during activation 1-28
licenses
deactivating 1-63
Index
N
network client installation procedure
installing software on clients in network
configurations 2-25
network configurations
installing MATLAB software 2-1
network installation procedure
installing MATLAB in network configurations 2-4
post-installation tasks 2-45
lmver
M
MathWorks Account
O
operating system user name
specifying during activation 1-31
overwriting an existing installation
individual installation 1-4
P
passcode
Index-3
Index
R
removing a MATLAB installation 1-58
using uninstaller properties file 1-60
requirements. See system requirements
reviewing software license agreement 1-8
for network installations 2-10
on systems running Windows 2-30
on systems running Windows
off-network installations 1-40
S
security firewalls
opening access to license manager daemons 3-6
selecting licenses 1-11
in network installations
on systems running Windows 2-13 2-33
selecting products
for off-network installations
on systems running Windows 1-46
in network installations
Index-4
T
troubleshooting
during installation 3-2
FLEXnet 3-6
starting MATLAB 3-6
U
unassociated activation
defined 3-3
uninstall.exe 1-60
uninstalling 1-58
Index
V
validating an installation
Index-5