Académique Documents
Professionnel Documents
Culture Documents
Release 2012a
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 4
2011 9
2012 3
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: . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: MathWorks . . . . . . . . . . . . . .
4: . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . . . .
1-28
1-28
. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2: . . .
1-41
1-41
1-43
1-44
1-29
1-31
1-34
1-36
1-37
1-38
1-39
3: . . . . . . . . . . . . . . . . . . . . . .
4: . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . .
7: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9: . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . .
13: . . . . . . . . . . . . . . . . . . . .
1-45
1-45
1-48
1-49
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . .
1-59
1-59
1-60
1-60
1-60
1-60
MathWorks () . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . .
Macintosh . . . . . . . . . . . .
1-62
1-62
1-65
1-65
. . . . . . . . . . . . . . . . . . . . . . .
1-67
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-73
1-50
1-51
1-52
1-53
1-54
1-55
1-57
2
......................................
2-2
. . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2-4
2-4
2-7
vi
2:
..............................................
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . .
7: MATLAB . . . .
8: . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . .
2-8
2-10
2-11
2-14
2-15
2-16
2-17
2-19
2-20
2-22
2-25
. . . . . . . . . . . . . . . .
2-26
MathWorks
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . .
7: MATLAB . . . .
8: . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . .
10: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . .
2-27
2-27
2-29
2-31
2-33
2-34
2-37
2-39
2-40
2-41
2-42
2-43
2-45
2-48
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . . . .
Macintosh
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
2-49
2-49
2-50
( ) . . . . . . . . . .
. . . . . . . . . . . . . . .
2-59
2-59
2-52
2-54
vii
. . . . . . . . . . . . . . . . . .
2-59
. . . . . . . . . .
2-61
viii
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2
3-2
3-2
3-5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-6
3-6
3-7
MathWorks
(p. 1-2)
(p. 1-28)
(p. 1-41)
(p. 1-59)
(p. 1-67)
(p. 1-73)
MathWorks
MathWorks
Linux (32 64 )
Mac OS X
(p. 1-28)
(p. 1-41)
(p. 1-59)
(p. 1-67)
(p. 1-73)
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-41)
2
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
Click Next.
: MathWorks
[]
[]
MathWorks
[]
1-13
Click Next.
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
Click Next.
1-17
6:
[ ] [] []
[]
[]
(
) []
Select Typical or Custom.
Click Next.
1-18
MathWorks
7:
MathWorks
[]
Macintosh MATLAB
MATLAB_R2012a.app Applications
[]
[]
Specify name of installation folder.
Click Next.
1-19
8: (
)
[]
[]
Click Next.
1-20
MathWorks
MathWorks Web
DVD
[] []
DVD
[]
[ ]
[
]
[]
1-21
Select only
latest version
of all products.
1-22
Click Next.
Total download
size.
Clear selection
of all product
downloads.
MathWorks
9: (
)
Windows
Windows [ ] []
MATLAB
[]
Click Next.
Linux
Linux matlab mex
/usr/local/bin
1-23
[]
Select this option and specify
the location of symbolic links.
Click Next.
1-24
MathWorks
10:
[]
[]
Click Install.
1-25
DVD
MathWorks Web
[]
Click Next.
11:
[]
MathWorks
MathWorks
[]
1-26
MathWorks
[MATLAB
] []
To activate your software, leave this selected.
(p. 1-28)
1-27
...
1: (p. 1-28)
2: (p. 1-29)
3: MathWorks (p. 1-31)
4: (p. 1-34)
5: (p. 1-36)
6: (p. 1-37)
7: (p. 1-38)
8: (p. 1-39)
1:
[] [MATLAB
]
MATLAB
MATLAB [] [] [
]
MATLAB
1-28
Macintosh MATLAB
MATLAB
( Ctrl
) []
2:
"" MathWorks
MathWorks
[
]
Click Next.
MathWorks
1-29
[]
MathWorks
If you have an Internet connection,
leave this option selected.
Click Next.
If you do not
have an Internet
connection, select
this option.
: Windows
1-30
[]
[]
MathWorks
(p. 3-2)
3: MathWorks
:
MathWorks []
MathWorks
MathWorks []
[]
[
] []
[]
1-31
If you need to
create an account, Click Next.
select this option.
MathWorks
MathWorks
Web []
1-32
Click Next.
Enter Activation
Key.
: MathWorks
[]
[]
MathWorks
[]
1-33
Click Next.
4:
:
MathWorks
[]
1-34
MathWorks Web
[Unset]
MathWorks
[ ]
[]
License labels and license option
descriptions help identify licenses.
Select a license.
Click Next.
1-35
5:
:
[ ]
[
]
[]
Click option to choose activation type.
Click Next.
1-36
6:
: []
MathWorks
ID
MathWorks
[
] []
[
]
[]
MathWorks
1-37
7:
[]
MathWorks
( [ ]
)
MathWorks
MathWorks
1-38
Click Activate.
8:
[]
1-39
Click Finish.
1-40
...
(p. 1-41)
1: (p. 1-43)
2: (p. 1-44)
3: (p. 1-45)
4: (p. 1-45)
5: (p. 1-48)
6: (p. 1-49)
7: ( ) (p. 1-50)
8: ( ) (p. 1-51)
9: (p. 1-52)
10: (p. 1-53)
11: (p. 1-54)
12: (p. 1-55)
13: (p. 1-57)
MathWorks Web
1-41
MATLAB
1-42
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
(p. 2-4)
1:
/path_to_dvd/install &
1-43
./install
DVD
DVD
mount -o exec
/media/cdrom0
2:
[
] []
Select this option if you do not
have an Internet connection.
Click Next.
1-44
3:
[]
[]
license.txt
Click Next.
Select Yes.
4:
[
]
[ ]
[]
MathWorks Web
1-45
[ ]
[]
Click Next.
Select this option to
gather the information
needed to get a File
Installation Key.
[]
MathWorks Web (License Center)
1-46
ID
(: R2012a)
(
)
Perform this procedure to complete activation.
Click Finish.
1 []
2 MathWorks Web
MathWorks
1-47
5:
[ ]
[]
[]
(
) []
Select Typical or Custom.
Click Next.
1-48
6:
MathWorks
[]
Macintosh MATLAB
MATLAB_R2012a.app Applications
[]
[]
Specify name of installation folder.
Click Next.
1-49
7: (
)
[]
[]
Click Next.
1-50
8: (
)
Windows
Windows [ ] []
MATLAB
[]
Click Next.
Linux
Linux matlab mex
/usr/local/bin
1-51
[]
Select this option and specify
the location of symbolic links.
Click Next.
9:
[]
[]
1-52
Click Install.
10:
[]
MathWorks
[]
[MATLAB
] [] (
)
1-53
11:
MathWorks
[
] []
1-54
Click Next.
Select this
option to activate
without an
Internet connection.
12:
MathWorks Web
[ ]
[]
[ ]
[]
1-55
Click Next.
[]
ID
(: R2012a)
(
)
[]
1-56
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-57
Click Finish.
1-58
...
MATLAB (p. 1-59)
(p. 1-60)
MATLAB (p. 1-60)
MATLAB (p. 1-60)
MATLAB (p. 1-60)
MATLAB
MATLAB
Windows :
Windows 7 Windows []
[MATLAB R2012a]
Windows XP Windows []
[] [MATLAB] [R2012a] [MATLAB R2012a]
[ ]
MATLAB
Linux
matlab [
]
matlabroot/bin/matlab
matlabroot MATLAB
Macintosh
1-59
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-60
MATLAB
MATLAB
MATLAB []
MATLAB
MATLAB []
HTML
1-61
MathWorks ()
MathWorks
: 2
(p. 1-67)
Windows
MathWorks ()
1 MATLAB
2
Windows 7 [] [
] [ ] []
[MATLAB R2012a]
Windows XP [] [
] [ ] []
[MATLAB R2012a] [/]
matlabroot/uninstall/bin/$ARCH matlabroot
MATLAB $ARCH win32
uninstall.exe
(p. 2-61)
3 [] [
]
MATLAB MathWorks
1-62
MathWorks ()
MathWorks
MATLAB
[OK] []
(p. 3-5)
MATLAB [MATLAB
]
MATLAB
MATLAB
MATLAB prefdir
prefdir
ans =
C:\WINNT\Profiles\username\Application Data\MathWorks\MATLAB\R2012a
1-63
username
4 ()
MATLAB
matlabroot/archives
[]
5 []
[] MATLAB
(p. 1-67)
Click Finish.
1-64
MathWorks ()
Linux
:
(p. 1-67)
1 MATLAB
2
matlabroot/etc lmdown
3 Linux
rm -rf matlabroot
matlabroot MATLAB
Macintosh
: MATLAB
MATLAB
1 Macintosh
MATLAB
2 MATLAB MATLAB
lmdown
1-65
3 MATLAB
Applications MATLAB_R2011a.app
4 MATLAB [Finder] [
1-66
MathWorks
2
MathWorks
MathWorks
MathWorks Web
: 2
MathWorks
() (p. 1-62)
1-67
MATLAB [] []
MATLAB matlabroot
Windows :
matlabroot\uninstall\bin\win32\deactivate_matlab.exe
Linux
matlabroot/bin/deactivate_matlab.sh
Macintosh
/Applications/MATLAB_R2012a.app/bin/deactivate_matlab.sh
Windows 7 [] MATLAB
Windows XP [] [
] [MATLAB] [R2012a] [MATLAB R2012a
]
2 []
MATLAB
1-68
Click Deactivate.
[]
[OK]
[MathWorks ]
1-69
3 []
MathWorks
4 [OK]
MathWorks
[
] [OK] [MathWorks
]
Click OK.
MathWorks
1-70
[]
MathWorks Web
[OK] [MathWorks
]
Deactivation string.
Click OK.
5 [MathWorks
[] [
]
1-71
Click Close.
1-72
Status of license.
1-73
1-74
[] [ ]
MathWorks
Linux (32 64 )
Mac OS X
MathWorks 1
(p. 2-2)
(p. 2-4)
(p. 2-26)
MathWorks
(p. 2-27)
(p. 2-49)
( ) (p. 2-59)
(p. 2-61)
-
FLEXnet
FLEXnet
(p. 2-4)
MathWorks -
MathWorks
MathWorks
MathWorks -
MathWorks
MathWorks (p. 2-27)
(
) (p. 2-59)
2-2
:
MathWorks Web
2-3
...
(p. 2-4)
1: (p. 2-7)
2: (p. 2-8)
3: (p. 2-10)
4: MathWorks (p. 2-11)
5: (p. 2-14)
6: (p. 2-15)
7: MATLAB (p. 2-16)
8: (p. 2-17)
9: (p. 2-19)
10: (p. 2-20)
11: (p. 2-22)
12: (p. 2-25)
: MATLAB
2-4
MathWorks
MathWorks
MathWorks
MathWorks Web
ID MathWorks
(p. 2-49)
MATLAB
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
2-5
MathWorks
[Authenticate]
1 MathWorks
MATLAB
MATLAB
MATLAB
2-6
:
2
1:
/path_to_dvd/install &
2-7
./install
DVD
DVD
mount -o exec
/media/cdrom0
2:
[
] []
MathWorks
[
] []
2-8
2-9
: Windows
[]
[]
MathWorks
(p. 1-41)
3:
[]
[]
license.txt
2-10
Click Next.
Select Yes.
4: MathWorks
:
MathWorks
[] MathWorks
MathWorks [MathWorks ]
[]
[
]
MathWorks Web
2-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
2-12
Click Next.
: MathWorks
[]
[]
MathWorks
[]
2-13
Click Next.
5:
MathWorks
[]
2-14
MathWorks Web
[Unset]
MathWorks
[ ]
[] "
"
Select the
network license...
Click Next.
6:
[]
[]
2-15
Click Next.
7: MATLAB
MathWorks
[]
Macintosh MATLAB
MATLAB_R2012a.app Applications
[]
[]
2-16
Click Next.
8:
MathWorks
(
)
[] []
(p. 3-5)
2-17
2-18
Click Next.
9:
[]
MathWorks Web
Specify full path of License File.
Click Next.
MathWorks Web
license.dat MATLAB
\etc
2-19
matlabroot/etc matlabroot
MATLAB
10:
Windows
MathWorks
Windows
[]
:
[
]
2-20
Click Next.
Macintosh
[Next]
2-21
Click Next.
11:
[]
[]
2-22
Click Install.
[]
2-23
Click Next.
2-24
12:
[]
[]
MATLAB
Click Finish.
2-25
MathWorks
-
(p. 2-19)
MathWorks
-
MathWorks
DVD
MathWorks
MathWorks
2-26
-
MathWorks (p. 2-27)
MathWorks
MathWorks
...
(p. 2-27)
1: (p. 2-29)
2: (p. 2-31)
3: (p. 2-33)
4: MathWorks (p. 2-34)
5: (p. 2-37)
6: (p. 2-39)
7: MATLAB (p. 2-40)
8: (p. 2-41)
9: (p. 2-42)
10: ( ) (p. 2-43)
11: (p. 2-45)
12: (p. 2-48)
MathWorks
MathWorks
2-27
MathWorks
(p. 2-49)
MATLAB
2-28
Windows
Linux MATLAB
matlab
Macintosh
Macintosh
MathWorks
[Authenticate]
MathWorks
( ) (p. 2-59)
MATLAB
MATLAB
MATLAB
1:
2-29
DVD
InstallForMacOSX
/path_to_dvd/install &
2-30
MathWorks
./install
DVD
DVD
mount -o exec
/media/cdrom0
2:
[
] []
MathWorks
[
] []
2-31
2-32
MathWorks
: Windows
[]
[]
MathWorks
(p. 1-41)
3:
[]
[]
license.txt
2-33
Click Next.
Select Yes.
4: MathWorks
MathWorks
[] MathWorks
MathWorks [MathWorks ]
[]
[
]
MathWorks Web
2-34
MathWorks
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-35
Click Next.
: MathWorks
[]
[]
MathWorks
[]
2-36
MathWorks
Click Next.
5:
:
MathWorks
[]
2-37
MathWorks Web
[Unset]
[
]
Select the
network license...
Click Next.
2-38
MathWorks
6:
:
[]
[ ]
[]
[]
(
) []
Select Typical or Custom.
Click Next.
2-39
7: MATLAB
MathWorks
[]
Macintosh MATLAB
MATLAB_R2012a.app Applications
[]
[]
Specify name of installation folder.
Click Next.
2-40
MathWorks
8:
[]
[] []
(p. 3-5)
Leave the license manager unselected.
Select the
products you
want to install.
Click Next.
2-41
9:
[]
SERVER DAEMON
license.dat
matlabroot/etc
matlabroot MATLAB
Specify License File processed
during license manager installation
on your server.
Click Next.
2-42
MathWorks
network.lic
MATLAB \licenses
10: (
)
Windows
Windows [ ] []
MATLAB
[]
2-43
Click Next.
Linux
Linux matlab mex
/usr/local/bin
[]
2-44
MathWorks
Click Next.
11:
[]
[]
2-45
Click Install.
2-46
DVD
MathWorks Web
MathWorks
[]
Click Next.
2-47
12:
MathWorks []
[]
Click Finish.
2-48
...
(p. 2-49)
Linux (p. 2-50)
Macintosh
(p. 2-52)
(p. 2-54)
MATLAB
Windows Macintosh
(Linux
Linux (p.
2-50))
2-49
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-50
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-51
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-52
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
2-53
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-55)
2-54
LMTOOLS GUI
matlabroot MATLAB
$ARCH win32
2 [Server Status]
3 [Perform Status Enquiry] LMTOOLS
lmutil lmstat -a
FLEXnet
2-55
matlabroot\etc\$ARCH matlabroot
MATLAB $ARCH win32
DOS lmstat
lmutil
lmutil lmstat -a -c "C:\Program Files\MATLAB\R2012a\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\R2012a\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).
2-56
lmutil
lmutil -h
-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/R2012a/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-57
lmdiag
lmdown
(lmgrd )
lmhostid
ID
lmreread
: lmreread
FLEXnet
INCLUDE 15
2-58
lmstat
lmswitchr
lmver
( )
( )
...
(p. 2-59)
(p. 2-59)
: MATLAB ()
(p. 2-61)
MATLAB
MathWorks
( )
Windows
copy Z:\installer_input.txt C:\temp\my_installer_input.txt
2-59
destinationFolder=
destinationFolder=C:\Program Files\MATLAB\R2012a
fileInstallationKey=
3
4 -inputFile
Windows [] [
] []
setup.exe -inputFile C:\temp\my_installer_input.txt
Linux Macintosh
2-60
: MATLAB
( ) (p. 2-59)
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-61
2-62
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-54)
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