Professional Documents
Culture Documents
Release 2012b
MathWorks
www.mathworks.co.jp
comp.soft-sys.matlab
www.mathworks.co.jp/contact_TS.html
support@mathworks.com
support@mathworks.com
doc@mathworks.co.jp
service@mathworks.co.jp
service@mathworks.co.jp
Web
Newsgroup
()
()
TEL: 03-6367-6700 ()
FAX: 03-6367-6710
The MathWorks GK
107-0052 415-1
MathWorks Web
COPYRIGHT 19962012 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.
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.
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
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
2011
2011
2012
2012
4
9
3
9
1
2
3
4
5
6
7
8
1
. . . . . . . . . . . . . . . . .
1-2
MathWorks . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . .
8: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . .
1-3
1-3
1-5
1-7
1-10
1-11
1-15
1-18
1-19
1-20
1-23
1-25
1-26
. . . . . . . . . . . . . . . . . . . . . . . .
1-28
. . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: MathWorks . . . . . . . . . . . . . .
4: . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . . . .
1-29
1-29
. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-42
1-42
1-30
1-32
1-35
1-37
1-38
1-39
1-40
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2: . . .
3: . . . . . . . . . . . . . . . . . . . . . .
4: . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . .
7: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9: . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . .
13: . . . . . . . . . . . . . . . . . . . .
1-44
1-45
1-46
1-46
1-49
1-50
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . .
1-60
1-60
1-61
1-61
1-61
1-61
MathWorks () . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . .
Macintosh . . . . . . . . . . . .
1-63
1-63
1-66
1-66
. . . . . . . . . . . . . . . . . . . . .
1-68
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-74
1-51
1-52
1-53
1-54
1-55
1-56
1-58
2
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vi
2-2
2-2
2-6
. . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . .
2-9
2-9
2-12
. . . . . . . . . . . . . . . .
2-31
MathWorks
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . .
10: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . . . .
Macintosh
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
2-13
2-15
2-16
2-19
2-20
2-21
2-22
2-24
2-25
2-27
2-30
2-32
2-32
2-34
2-36
2-38
2-39
2-42
2-44
2-45
2-46
2-47
2-48
2-50
2-53
2-54
2-54
2-55
2-57
2-59
vii
( ) . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
2-64
2-64
2-64
. . . . . . . . . .
2-66
3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . .
MathWorks . . . . .
3-2
3-2
3-2
3-2
3-3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . .
................................................
3-6
3-6
3-7
Index
viii
MathWorks
(p. 1-2)
(p. 1-28)
(p. 1-29)
(p. 1-42)
(p. 1-60)
(p. 1-68)
(p. 1-74)
MathWorks
MathWorks
Linux (32 64 )
Mac OS X
(p. 1-29)
(p. 1-42)
(p. 1-60)
(p. 1-68)
(p. 1-74)
1-2
MathWorks
MathWorks
...
(p. 1-3)
1: (p. 1-5)
2: (p. 1-7)
3: (p. 1-10)
4: MathWorks (p. 1-11)
5: (p. 1-15)
6: (p. 1-18)
7: (p. 1-19)
8: ( ) (p. 1-20)
9: ( ) (p. 1-23)
10: (p. 1-25)
11: (p. 1-26)
MathWorks
MathWorks
" "
1-3
MATLAB
1-4
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
MathWorks
(p. 1-42)
MATLAB
MATLAB
10
9 MATLAB
9
1:
1-5
/path_to_dvd/install &
1-6
MathWorks
./install
DVD
DVD
mount -o exec
/media/cdrom0
2:
[
] []
MathWorks
[
] []
1-7
1-8
MathWorks
: Windows
[]
[]
MathWorks
1-9
3:
[]
[]
license.txt
Click Next.
1-10
Select Yes.
MathWorks
4: MathWorks
MathWorks
[] MathWorks
MathWorks [MathWorks ]
[]
[
]
MathWorks
Web
1-11
If you need
to create an
account, select
this option.
Click Next.
If you have
a File Installation
Key, enter it here.
MathWorks
MathWorks Web
[]
MathWorks
1-12
MathWorks
: MathWorks
[]
[]
MathWorks
[]
1-13
1-14
MathWorks
5:
MathWorks
[]
MathWorks Web
[Unset]
MathWorks
[ ]
[] "
"
MathWorks
1-15
Select a license.
Select option
and enter
Activation Key.
Click Next.
[ ]
[]
1-16
MathWorks
1-17
6:
[ ] [] []
[]
[]
[]
( )
Select Typical or Custom.
Click Next.
1-18
MathWorks
7:
MathWorks
[]
Macintosh MATLAB
MATLAB_R2012b.app Applications
[]
[]
Specify name of installation folder.
Click Next.
1-19
8: (
)
[]
[]
1-20
MathWorks
MathWorks Web
DVD
[] []
DVD
[]
[ ]
[
]
[]
1-21
1-22
MathWorks
9: (
)
Windows
Windows [ ] []
MATLAB
[]
Click Next.
Linux
Linux matlab mex
/usr/local/bin
1-23
[]
1-24
MathWorks
10:
[]
[]
1-25
DVD
MathWorks Web
[]
11:
[]
MathWorks
MathWorks
[
]
1-26
MathWorks
[MATLAB
] [] (
)
(p. 1-29)
1-27
MATLAB
MATLAB
10
9 MATLAB
9
1-28
...
1: (p. 1-29)
2: (p. 1-30)
3: MathWorks (p. 1-32)
4: (p. 1-35)
5: (p. 1-37)
6: (p. 1-38)
7: (p. 1-39)
8: (p. 1-40)
1:
[] [MATLAB
]
MATLAB
MATLAB [] [] [
]
MATLAB
Macintosh MATLAB
MATLAB
1-29
( Ctrl
) []
2:
"" MathWorks
MathWorks
[
]
MathWorks
1-30
[]
MathWorks
: Windows
[]
[]
1-31
MathWorks
3: MathWorks
:
MathWorks []
MathWorks
MathWorks []
[]
[
] []
[]
1-32
MathWorks
MathWorks
Web []
1-33
: MathWorks
[]
[]
MathWorks
[]
1-34
4:
:
MathWorks
[]
1-35
MathWorks Web
[Unset]
MathWorks
[ ]
[] "
"
1-36
5:
:
[ ]
[
]
[]
1-37
6:
: []
[
]
MathWorks
ID
MathWorks
[
] []
[
]
[]
MathWorks
1-38
7:
[]
MathWorks
( [ ]
)
MathWorks
MathWorks
1-39
8:
[]
1-40
1-41
...
(p. 1-42)
1: (p. 1-44)
2: (p. 1-45)
3: (p. 1-46)
4: (p. 1-46)
5: (p. 1-49)
6: (p. 1-50)
7: ( ) (p. 1-51)
8: ( ) (p. 1-52)
9: (p. 1-53)
10: (p. 1-54)
11: (p. 1-55)
12: (p. 1-56)
13: (p. 1-58)
MathWorks Web
1-42
MATLAB
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
1-43
(p. 2-9)
1:
/path_to_dvd/install &
1-44
./install
DVD
DVD
mount -o exec
/media/cdrom0
2:
[
] []
1-45
3:
[]
[]
license.txt
Click Next.
Select Yes.
4:
[
]
[
] []
MathWorks Web
1-46
[ ]
[]
[]
MathWorks Web (License Center)
ID
(: R2012b)
1-47
(
)
1 []
2 MathWorks Web
MathWorks
1-48
5:
[ ] [] []
[]
[]
[]
( )
Select Typical or Custom.
Click Next.
1-49
6:
MathWorks
[]
Macintosh MATLAB
MATLAB_R2012b.app Applications
[]
[]
Specify name of installation folder.
Click Next.
1-50
7: (
)
[]
[]
1-51
8: (
)
Windows
Windows [ ] []
MATLAB
[]
Click Next.
Linux
Linux matlab mex
/usr/local/bin
1-52
[]
9:
[]
[]
1-53
10:
[]
MathWorks
[]
[MATLAB
] [] (
)
1-54
11:
MathWorks
[
] []
1-55
12:
MathWorks Web
[ ]
[]
[
] []
1-56
[ ]
ID
(: R2012a)
(
)
[]
1-57
MathWorks Web
MathWorks
[]
:
MATLAB
13:
[]
1-58
1-59
...
MATLAB (p. 1-60)
(p. 1-61)
MATLAB (p. 1-61)
MATLAB (p. 1-61)
MATLAB (p. 1-61)
MATLAB
MATLAB
Windows :
Windows 7 Windows []
[MATLAB R2012b]
Windows XP Windows []
[] [MATLAB] [R2012b] [MATLAB R2012b]
[ ]
MATLAB
Linux
1-60
matlab [
]
matlabroot/bin/matlab
matlabroot MATLAB
Macintosh
MATLAB
MATLAB MathWorks
MathWorks Web
MATLAB
MATLAB
() My Documents\MATLAB (
9: ( ) (p. 1-23)
)
MATLAB
MATLAB
MATLAB
MATLAB matlabroot\toolbox\local startup.m
MATLAB startup.m
local startupsav.m
MATLAB
MATLAB MATLAB
MATLAB
1-61
1-62
MATLAB
MATLAB
MATLAB []
MATLAB
MATLAB
HTML
MathWorks ()
MathWorks ()
MathWorks
: 2
(p. 1-68)
Windows
MathWorks ()
1 MATLAB
2
Windows 7 [] [
] [ ] []
[MATLAB R2012b]
Windows XP [] [
] [ ] []
[MATLAB R2012b] [/]
matlabroot/uninstall/bin/$ARCH matlabroot
MATLAB $ARCH win32
uninstall.exe
(p. 2-66)
3 [] [
]
MATLAB MathWorks
1-63
MathWorks
MATLAB
[OK] [
]
MATLAB [MATLAB
]
MATLAB
MATLAB
MATLAB prefdir
prefdir
ans =
C:\WINNT\Profiles\username\Application Data\MathWorks\MATLAB\R2012b
username
1-64
MathWorks ()
4 ()
MATLAB
matlabroot/archives
[]
5 []
[] MATLAB
(p. 1-68)
1-65
Linux
:
(p. 1-68)
1 MATLAB
2
matlabroot/etc lmdown
3 Linux
rm -rf matlabroot
matlabroot MATLAB
Macintosh
: MATLAB
MATLAB
1 Macintosh
MATLAB
2 MATLAB MATLAB
lmdown
1-66
MathWorks ()
3 MATLAB
Applications MATLAB_R2011a.app
4 MATLAB [Finder] [
1-67
MathWorks
2
MathWorks
MathWorks
MathWorks Web
: 2
MathWorks
() (p. 1-63)
1-68
MATLAB [] []
MATLAB matlabroot
Windows :
matlabroot\uninstall\bin\win32\deactivate_matlab.exe
Linux
matlabroot/bin/deactivate_matlab.sh
Macintosh
/Applications/MATLAB_R2012b.app/bin/deactivate_matlab.sh
Windows 7 [] MATLAB
Windows XP [] [
] [MATLAB] [R2012b] [MATLAB R2012b
]
2 []
MATLAB
1-69
[]
[OK]
[MathWorks ]
1-70
3 []
MathWorks
4 [OK]
MathWorks
[
] [OK] [MathWorks
]
Click OK.
MathWorks
1-71
[]
MathWorks Web
[OK] [MathWorks
]
Deactivation string.
Click OK.
5 [MathWorks
[] [
]
1-72
1-73
1-74
[] [ ]
MathWorks
Linux (32 64 )
Mac OS X
(p. 2-2)
(p. 2-9)
(p. 2-31)
MathWorks
(p. 2-32)
(p. 2-54)
( ) (p. 2-64)
(p. 2-66)
...
(p. 2-2)
(p. 2-6)
MathWorks
MathWorks MATLAB
MATLAB
MATLAB
2
MathWorks
MathWorks
:
MathWorks
ID
2-2
MathWorks
MathWorks MathWorks
MATLAB
2-3
MATLAB
( "
" )
MATLAB 1
MATLAB
Server
MATLAB
FLEXnet
Client
Client
Client
Windows
Linux
Windows
MATLAB MATLAB
2-4
" "
MATLAB
MATLAB MATLAB
1
Server
FLEXnet
Client
MATLAB
Client
MATLAB
Client
MATLAB
MathWorks
-
FlexNet
FlexNet
(p. 2-9)
MathWorks -
MathWorks
2-5
MathWorks
MathWorks -
MathWorks
MathWorks (p. 2-32)
(
) (p. 2-64)
:
MathWorks Web
ASCII
INCREMENT
( INCREMENT
) (\)
2-6
(#) MathWorks
(
ID )
# BEGIN-------cut here-------CUT HERE-------BEGIN
# MATLAB license passcode file.
# LicenseNo: 12345
HostID: INTERNET=144.212.101.43
MATLAB
MATLAB
1 MATLAB -c
-c
-c
2 MATLAB MATLAB
2
MLM_LICENSE_FILE
2-7
MLM_LICENSE_FILE
MathWorks (MathWorks
)
LM_LICENSE_FILE
FlexNet
2-8
...
(p. 2-9)
1: (p. 2-12)
2: (p. 2-13)
3: (p. 2-15)
4: MathWorks (p. 2-16)
5: (p. 2-19)
6: (p. 2-20)
7: (p. 2-21)
8: (p. 2-22)
9: (p. 2-24)
10: (p. 2-25)
11: (p. 2-27)
12: (p. 2-30)
: MATLAB
MathWorks
2-9
MathWorks
MathWorks
MathWorks Web
ID MathWorks
(p. 2-54)
MATLAB
2-10
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
1 MathWorks
MATLAB
MATLAB
MATLAB
2-11
:
2
1:
/path_to_dvd/install &
2-12
./install
DVD
DVD
mount -o exec
/media/cdrom0
2:
[
] []
MathWorks
[
] []
2-13
2-14
: Windows
[]
[]
MathWorks
(p. 1-42)
3:
[]
[]
license.txt
2-15
Click Next.
Select Yes.
4: MathWorks
:
MathWorks
[] MathWorks
MathWorks [MathWorks ]
[]
[
]
MathWorks
Web
2-16
If you need
to create an
account, select
this option.
Click Next.
If you have
a File Installation
Key, enter it here.
MathWorks
MathWorks Web
[]
MathWorks
2-17
: MathWorks
[]
[]
MathWorks
[]
2-18
5:
MathWorks
[]
MathWorks Web
2-19
[Unset]
MathWorks
[ ]
[] "
"
6:
[]
[]
2-20
7:
MathWorks
[]
Macintosh MATLAB
MATLAB_R2012b.app Applications
[]
[]
2-21
Click Next.
8:
MathWorks (
)
[] []
2-22
2-23
9:
[]
MathWorks Web
MathWorks Web
2-24
license.dat MATLAB
\etc
matlabroot/etc matlabroot
MATLAB
10:
Windows
MathWorks
Windows
[]
:
[
]
2-25
Macintosh
[Next]
2-26
11:
[]
[]
2-27
[]
2-28
2-29
12:
[]
[]
MATLAB
2-30
MathWorks
-
(p. 2-24)
MathWorks
-
MathWorks
DVD
MathWorks
MathWorks
-
MathWorks (p. 2-32)
2-31
MathWorks
...
(p. 2-32)
1: (p. 2-34)
2: (p. 2-36)
3: (p. 2-38)
4: MathWorks (p. 2-39)
5: (p. 2-42)
6: (p. 2-44)
7: (p. 2-45)
8: (p. 2-46)
9: (p. 2-47)
10: ( ) (p. 2-48)
11: (p. 2-50)
12: (p. 2-53)
MathWorks
MathWorks
2-32
MathWorks
MathWorks
(p. 2-54)
MATLAB
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
2-33
( ) (p. 2-64)
MATLAB
MATLAB
MATLAB
1:
2-34
MathWorks
DVD
InstallForMacOSX
/path_to_dvd/install &
2-35
./install
DVD
DVD
mount -o exec
/media/cdrom0
2:
[
] []
MathWorks
[
] []
2-36
MathWorks
2-37
: Windows
[]
[]
MathWorks
(p. 1-42)
3:
[]
[]
license.txt
2-38
MathWorks
Click Next.
Select Yes.
4: MathWorks
MathWorks
[] MathWorks
MathWorks [MathWorks ]
[]
[
]
MathWorks
Web
2-39
If you need
to create an
account, select
this option.
Click Next.
If you have
a File Installation
Key, enter it here.
MathWorks
MathWorks Web
[]
MathWorks
2-40
MathWorks
: MathWorks
[]
[]
MathWorks
[]
2-41
5:
:
MathWorks
[]
2-42
MathWorks
MathWorks Web
[Unset]
[
]
2-43
6:
:
[]
[ ] [] []
[]
[]
[]
( )
Select Typical or Custom.
Click Next.
2-44
MathWorks
7:
MathWorks
[]
Macintosh MATLAB
MATLAB_R2012b.app Applications
[]
[]
Specify name of installation folder.
Click Next.
2-45
8:
[]
[] []
2-46
MathWorks
9:
[]
SERVER DAEMON
license.dat
matlabroot/etc
matlabroot MATLAB
2-47
network.lic
MATLAB \licenses
10: (
)
Windows
Windows [ ] []
MATLAB
[]
2-48
MathWorks
Click Next.
Linux
Linux matlab mex
/usr/local/bin
[]
2-49
11:
[]
[]
2-50
MathWorks
DVD
MathWorks Web
2-51
[]
2-52
MathWorks
12:
MathWorks []
[]
2-53
...
(p. 2-54)
Linux (p. 2-55)
Macintosh
(p. 2-57)
(p. 2-59)
MATLAB
Windows Macintosh
(Linux
Linux
(p. 2-55))
2-54
Windows
Windows
Windows []
Windows [] [] [
] [] []
[Start/Stop/Reread]
Linux Macintosh
Linux Macintosh
lmstart (matlabroot/etc )
matlabroot MATLAB
lmstart
: lmstart
(lmgrd)
su
lmgrd
su username -c "lmgrd -c license_file -l /var/tmp/LM_TMW.log"
username
Linux
Linux
2-55
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
5 /etc/inittab
6 rc
32 64 Linux
5
2-56
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
6 S90flexnet symlink
S99flexnet
Macintosh
1 /Library
2 StartupItems
3 matlabroot/etc/MATLABLmgr StartupItems
2-57
4 /etc/MATLABlmgr config_lm.sh
(/Applications/Utilities
)
cd /Library/StartupItems/MATLABLmgr
./config_lm.sh
5 MathWorks
MathWorks /Applications/MATLAB_R2011a
/Applications/MATLAB_R2011a
6 whoami
MATLABLmgr
1 [Finder] [] []
2 []
/Library/StartupItems/MATLABLmgr
[] MATLABLmgr
3 StartupParameters.plist StartupParameters_disabled.plist
1 3
StartupParameters_disabled.plist StartupParameters.plist
2-58
Macintosh
1 [Finder] [] []
2 []
/Library/StartupItems/MATLABLmgr
[] MATLABLmgr
3 MATLABLmgr [Finder] [
FlexNet
MATLAB PDF
(matlabroot\etc\LicenseAdministration.pdf)
(p. 2-60)
LMTOOLS GUI
matlabroot MATLAB
2-59
$ARCH win32
2 [Server Status]
3 [Perform Status Enquiry] LMTOOLS
lmutil lmstat -a
FlexNet
matlabroot\etc\$ARCH matlabroot
MATLAB $ARCH win32
2-60
DOS lmstat
lmutil
lmutil lmstat -a -c "C:\Program Files\MATLAB\R2012b\etc\license.dat"
-a -c
lmutil
lmutil - Copyright (c) 1989-2010 Flexera Software Inc. All Rights Reserved.
Flexible License Manager status on Tue 11/4/2011 10:11
[Detecting lmgrd processes...]
License server status: 27000@ah-jcustomer
License File(s) on customerj: C:\Program Files\MATLAB\R2012b\etc\license.dat:
customerj: license server UP (MASTER) v.11.9
Vendor daemon status (on ah-jcustomer):
MLM: UP v11.9
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).
lmutil
lmutil -h
2-61
-h
lmutil lmstat -h
Linux Macintosh
matlabroot/etc
lmstat
lmstat -a
lmutil - Copyright (c) 1989-2010 Flexera Software Inc. All Rights Reserved.
Flexible License Manager status on Tue 11/4/2011 10:11
License server status: 27000@ah-jcustomer
License File(s) on customerj: /user/local/MATLAB/R2012b/etc/license.dat:
customerj: license server UP (MASTER) v.11.9
Vendor daemon status (on customerj):
MLM: UP v11.9
Feature usage info:
Users of MATLAB: (Total of 5 licenses available)
Users of SIMULINK: (Total of 5 licenses available)
-h
lmstat -h
2-62
lmdiag
lmdown
(lmgrd )
lmhostid
ID
lmreread
: lmreread
FlexNet
INCLUDE 15
lmstat
lmswitchr
lmver
2-63
( )
...
(p. 2-64)
(p. 2-64)
: MATLAB ()
(p. 2-66)
MATLAB
MathWorks
( )
Windows
copy Z:\installer_input.txt C:\temp\my_installer_input.txt
2-64
( )
destinationFolder=
destinationFolder=C:\Program Files\MATLAB\R2012b
fileInstallationKey=
3
4 -inputFile
Windows [] [
] []
setup.exe -inputFile C:\temp\my_installer_input.txt
Linux Macintosh
2-65
: MATLAB
( ) (p. 2-64)
MATLAB uninstall
uninstaller_input.txt
Windows
outputFile=
MATLAB
mode=automated []
3
4 -inputFile
(uninstall.exe)
[] []
[] uninstall
uninstall.exe -inputFile C:\temp\my_uninstall.txt
2-66
2-67
2-68
MathWorks
(p. 3-2)
(p. 3-6)
MathWorks
MATLAB
MathWorks Web
(www.mathworks.co.jp/support/)
...
(p. 3-2)
(p. 3-2)
(p. 3-2)
MathWorks (p. 3-3)
Microsoft Windows
DVD setup.exe
[] []
[OK]
[]
MathWorks
3-2
[]
[] (
MathWorks
(p. 3-3))
Enter server name, port, and
other required information.
Click OK.
MathWorks
MathWorks MathWorks MathWorks
MathWorks
3-3
MathWorks
3 [] [
]
4 []
[MATLAB ]
[]
5 [MathWorks ]
3-4
[]
[] []
[]
[OK]
Click OK.
[MathWorks ]
[]
6 []
[]
: [
]
7 []
3-5
MATLAB
MATLAB
MathWorks FLEXnet
matlabroot\etc\$ARCH
FlexNet lmlog.txt
(p. 2-59)
MathWorks Web
(www.mathworks.co.jp/support/)
[ ]
Select an error.
matlabroot\etc\LicenseAdministration.pdf PDF FlexNet
Publisher Licensing Toolkit
3-6
27000
DAEMON port= <>
3-7
3-8
Index
A
D
daemons
opening access in security firewalls 3-7
starting 2-55
deactivating MATLAB installations 1-68
deactivation string
deactivating without an Internet connection 1-68
retrieving 1-71
Designated Computer activation type
selecting during activation 1-37
F
file associations
specifying during installation 1-23
File Installation Key
entering for off-network installation 1-46
obtaining 1-47
required for off-network installations 1-42
firewalls
opening access to license manager daemons 3-7
FLEXnet
troubleshooting 3-6
H
B
boot scripts
use by installer 2-55
host ID
in License File 2-7
Index-1
Index
I
INCREMENT lines
Index-2
L
License Files
comment lines 2-7
getting the information you need to obtain 1-57
INCREMENT lines 2-6
processing in installation
on systems running Windows 2-24 2-48
required for off-network installations 1-42
search path 2-6
specifying during activation after off-network
installation 1-56
specifying location in network installation 2-24
2-47
license manager
automating startup
on Macintosh systems 2-57
configuring in network installation 2-25
disabling 2-58
installing on server in network configurations 2-9
re-enabling 2-58
removing 2-59
starting automatically at boot time 2-55
starting daemons 2-55
troubleshooting 3-6
using the LMTOOLS GUI 2-59
utility programs 2-60
license numbers
Index
log files
license manager 3-6
login name
specifying during activation 1-38
M
MathWorks Account
creating during activation 1-33
creating during installation 1-12
creating during network installations 2-17
creating for someone else during activation 1-38
installing without an account 3-3
logging in 1-11
logging in during activation 1-32
logging in during network installations
on systems running Windows 2-16 2-39
MATLAB
getting started 1-61
installing
in network configurations 2-5
starting 1-60
MATLAB installation folder
specifying 1-19
specifying for off-network installations 1-50
specifying in network installations 2-45
on systems running Windows 2-21
MATLABLmgr script 2-57
MLM_LICENSE_FILE environment variable 2-6
lmswitchr
N
network client installation procedure
installing software on clients in network
configurations 2-32
network configurations
installing MATLAB software 2-1
network installation procedure
installing MATLAB in network configurations 2-9
post-installation tasks 2-54
Index-3
Index
security firewalls
opening access to license manager daemons 3-7
selecting licenses 1-15
in network installations
on systems running Windows 2-19 2-42
selecting products
for off-network installations
on systems running Windows 1-51
in network installations
on systems running Windows 2-22 2-46
on systems running Windows 1-20
P
passcode
encrypted in license file 2-6
port numbers
opening access in security firewalls 3-7
preference files
removing 1-64
products
downloading during standalone installations 1-20
selecting during installation 1-20
selecting for off-network installations
on systems running Windows 1-51
selecting in network installations
on systems running Windows 2-22 2-46
proxy server
specifying 3-2
specifying during activation 1-31
proxy server settings
setting 1-30
R
remote client access
setting up 2-4
removing a MATLAB installation 1-63
using uninstaller properties file 2-66
requirements. See system requirements
reviewing software license agreement 1-10
for network installations 2-15
on systems running Windows 2-38
on systems running Windows
off-network installations 1-46
setup.exe
T
troubleshooting
Index-4
Index
unassociated activation
defined 3-3
uninstall.exe 2-66
uninstalling 1-63
using uninstaller properties file 2-66
upgrading an installation
network installations 2-11 2-34
validating an installation
on systems running Windows operating
system 1-61
virus checking software
disabling during network installations 2-11 2-34
virus-checking software
turning off during installation 3-2
Index-5