You are on page 1of 176

R2017b

MathWorks
: www.mathworks.com

: www.mathworks.com/sales_and_services

www.mathworks.com/matlabcentral
:

: www.mathworks.com/support/contact_us

: 03-6367-6700

The MathWorks GK
107-0052 4 15-1
7F

COPYRIGHT 19962017 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 government's 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 12 MATLAB 5.0 (Release 8)
1997 5 2 MATLAB 5.1 (Release 9)
1998 3 3 MATLAB 5.2 (Release 10)
1999 1 4 MATLAB 5.3 (Release 11)
1999 11 5 MATLAB 5.3.1 (Release 11.1)
2000 11 6 MATLAB 6.0 (Release 12)
2001 6 7 MATLAB 6.1 (Release 12.1)
2002 7 8 MATLAB 6.5 (Release 13)
Windows
2004 6 9 MATLAB 7.0 (Release 14)
2004 10 10 MATLAB 7.0.1 (Release 14SP1)
2005 3 11 MATLAB 7.0.4 (Release 14SP2)
2005 9 12 MATLAB 7.1 (Release 14SP3)
2006 3 13 MATLAB 7.2 (Release 2006a)
2006 9 14 MATLAB 7.3 (Release 2006b)
2007 3 MATLAB 7.4 (Release 2007a)
2007 9 MATLAB 7.5 (Release 2007b)
2008 3 MATLAB 7.6 (Release 2008a)
2008 10 MATLAB 7.7 (Release 2008b)
2009 3 MATLAB 7.8 (Release 2009a)
2009 9 MATLAB 7.9 (Release 2009b)
2010 3 MATLAB 7.10 (Release 2010a)
2010 9 MATLAB 7.11 (Release 2010b)

2011 4 MATLAB 7.12 (Release 2011a)
2011 9 MATLAB 7.13 (Release 2011b)
2012 3 MATLAB 7.14 (Release 2012a)
2012 9 MATLAB 8.0 (Release 2012b)
2013 3 MATLAB 8.1 (Release 2013a)
2013 9 MATLAB 8.2 (Release 2013b)
2014 3 MATLAB 8.3 (Release 2014a)
2014 10 MATLAB 8.4 (Release 2014b)
2015 3 MATLAB 8.5 (Release 2015a)
2015 9 MATLAB 8.6 (Release 2015b)
2016 3 MATLAB 9.0 (Release 2016a)
2016 7 MATLAB 9.0 (Release 2016a)
2016 9 MATLAB 9.1 (Release 2016b)
2017 3 MATLAB 9.2 (Release 2017a)
2017 9 MATLAB 9.3 (Release 2017b)


1
..................... 1-2

MathWorks ........... 1-3


............................... 1-3
1: ........................ 1-5
2: MathWorks ...... 1-6
3: ........... 1-8
4: MathWorks ........ 1-8
5: ............. 1-11
6: ................ 1-13
7: .................. 1-14
8: ................ 1-15
9: ............................ 1-17
10: ........................ 1-19

........................ 1-21

.............................. 1-22

MathWorks
.............................................. 1-23
1: ...... 1-23
2:
.... ................................... 1-24
3: MathWorks ....... 1-26
4: .......................... 1-29
5: .......................... 1-30
6: ................ 1-31
7: .................... 1-32

..... 1-34
.............................. 1-34

v
1: ....................... 1-36
2:
.......................................... 1-38
3: ..................... 1-38
4: ............. 1-38
5: ................ 1-40
6: .................. 1-41
7: ................ 1-42
8: ............................ 1-44
9: ......................... 1-45

.. 1-47
1: .................... 1-47
2: .............. 1-48
3: .................... 1-49

MathWorks ........................ 1-50


Windows ..................... 1-50
Linux ............. 1-52
Mac OS X ........... 1-52

................... 1-54

........................................ 1-60


2
MATLAB .............................. 2-2

...................................... 2-3

MATLAB ............................. 2-4

MATLAB ............................. 2-5

MATLAB .................... 2-6

vi

3
.................... 3-2

1 ..................... 3-3
..................................... 3-3
1: ........................ 3-3
2: .................... 3-5
3: ........... 3-7
4: MathWorks ........ 3-7
5: [] ....................... 3-8
6: ........................... 3-9
7: ................ 3-10
8: .................. 3-11
9: ............................ 3-12
10: ........................ 3-13
............................... 3-14

............ 3-15
.................................... 3-15
1: ........ 3-15
2: ................... 3-16
3: ........... 3-18
4: MathWorks ....... 3-18
5: [] ........... 3-19
6: 3-20
7: .................. 3-21
8: ............................ 3-22
9: ......................... 3-23

...................................... 3-24


4
............................. 4-2
.......................... 4-2
....................... 4-2

vii
......................... 4-4
..................... 4-4

.............................. 4-8


......................................... 4-9
............................... 4-9
1: ....................... 4-12
2: [ ] .. 4-13
3: ........... 4-14
4: ............. 4-14
5: ................ 4-15
6:
.......................................... 4-16
7: .............. 4-17
8: : Windows
.......................................... 4-18
9: ............................ 4-19
10: ........................ 4-20

MathWorks
............................................. 4-21
.............................. 4-21
1: ....................... 4-24
2: [MathWorks ] .... 4-26
3: ........... 4-27
4: MathWorks ....... 4-27
5: ................ 4-28
6: ............. 4-29
7: ................ 4-30
8:
.......................................... 4-31
9: .............. 4-32
10: : Windows
......................................... 4-33
11: ........................... 4-34
12: ........................ 4-36

............ 4-37

............... 4-38

viii
MathWorks
.............................................. 4-39
.............................. 4-39
1: ....................... 4-41
2: ..................... 4-43
3: ........... 4-44
4: ............. 4-44
5: MathWorks ....... 4-45
6: ............. 4-48
7: ................ 4-49
8: .................. 4-50
9: .............. 4-51
10: ............... 4-52
11: ........................... 4-54
12: ........................ 4-56

.......................... 4-57
Windows ................................. 4-57
Linux Mac OS X ..................... 4-58
Linux
............................... 4-58

.......................... 4-59
LMTOOLS (Windows ) ................ 4-59

......................................... 4-60

............... 4-63

( ) ....... 4-64
............. 4-64
............. 4-64

........................ 4-66


5
....................... 5-2

ix
................ 5-3

.................... 5-4

MathWorks ...... 5-5

.............. 5-7

... 5-8
...... 5-8
.................. 5-8

x
1

MathWorks

1

MathWorks
MathWorks

MicrosoftWindows (64 )
Linux (64 )
Mac OS X

MathWorks (p. 1-3)


MathWorks (p. 1-23)
(p. 1-34)
MATLAB
MathWorks (p. 1-50)
(p. 1-54)
(p. 1-60)



(p. 4-0 )

1-2
MathWorks

MathWorks
...
(p. 1-3)
1: (p. 1-5)
2: MathWorks (p. 1-6)
3: (p. 1-8)
4: MathWorks (p. 1-8)
5: (p. 1-11)
6: (p. 1-13)
7: (p. 1-14)
8: (p. 1-15)
9: (p. 1-17)
10: (p. 1-19)

MathWorks


MathWorks
" "

MATLAB


1-3
1



MATLAB

Windows

Linux MATLAB

matlab


Mac OS X
Mac OS X
MathWorks
[Authenticate]


(p. 1-34)

1-4
MathWorks

1:

MATLAB DVD MathWorks Web

1 MathWorks Web MATLAB DVD


Web


MathWorks
2
MathWorks Web
DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release
(R2016b ) $ARCH

setup.exe

DVD DVD DVD 1
2
DVD 2
Mac OS X

MathWorks Web
dmg InstallForMacOSX.app

1-5
1

DVD DVD DVD 1


DVD
DVD InstallForMacOSX

2 DVD 2
Linux

unzip
MathWorks Web

./install

DVD DVD DVD 1


/path_to_dvd/install &

DVD
DVD

DVD
DVD

mount -o exec /media/cdrom0

2 DVD 2

2: MathWorks
[MathWorks ] () []
MathWorks

1-6
MathWorks

[]
[] MathWorks

1-7
1

Windows

3:
[] [
]

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks (
)] []

1-8
MathWorks

MathWorks


MathWorks Web
MATLAB

[]

1-9
1

MathWorks
[]
[] MathWorks

[]

1-10
MathWorks

5:
MathWorks [
]

MathWorks

1 [ ]

2 []

" "

MathWorks
MathWorks Web
MATLAB

1-11
1


[
]
[]

MATLAB

1-12
MathWorks

6:
MathWorks
[]

[
] []

1-13
1

7:



DVD
MathWorks

[]

1-14
MathWorks

[]

8:

Windows

Windows [ ] []
MATLAB

1-15
1

Windows 10 [] [[] ]

[]

Linux

Linux matlab mex



/usr/local/bin

[]

1-16
MathWorks

9:

[]
[]

1-17
1




SDK

[]

1-18
MathWorks

10:

MATLAB
[]

[MATLAB
] []


MATLAB

1-19
1


MathWorks (p. 1-23)

1-20

MATLAB

MathWorks Web

1-21
1



MathWorks

MATLAB
MathWorks Web

MATLAB


MATLAB

:


10 9
MATLAB 9

1-22
MathWorks

MathWorks

...
1: (p. 1-23)
2: (p. 1-24)
3: MathWorks (p. 1-26)
4: (p. 1-29)
5: (p. 1-30)
6: (p. 1-31)
7: (p. 1-32)

1:

[] [MATLAB
]
MATLAB
MATLAB [] [] []
[] []
MATLAB

Windows matlabroot/bin/$ARCH activate_matlab.exe


matlabroot MATLAB
$ARCH matlabroot\bin\win64

Linux Mac OS X matlabroot/bin


activate_matlab.sh
Mac OS X MATLAB
MATLAB
( Ctrl
) []

1-23
1

2:

"" MathWorks



MathWorks
[]

MathWorks

[
()]
MATLAB

[
]

1-24
MathWorks

Windows

[]
[]
MathWorks

1-25
1

3: MathWorks

MathWorks []
MathWorks

MathWorks [ (
)] []

[
]
[]


[]

1-26
MathWorks

MathWorks

MathWorks Web
MATLAB

[]

1-27
1

MathWorks
[]
[] MathWorks

[]

1-28
MathWorks

4:

MathWorks [
]

MathWorks
[
] []
" "

1-29
1

MATLAB

5:

"
"

MathWorks

1-30
MathWorks

ID
MathWorks


[]

[]

6:
[]

1-31
1

MathWorks


MathWorks
MathWorks MathWorks

7:
[]

1-32
MathWorks

1-33
1


...
(p. 1-34)
1: (p. 1-36)
2: (p. 1-38)
3: (p. 1-38)
4: (p. 1-38)
5: (p. 1-40)
6: (p. 1-41)
7: (p. 1-42)
8: (p. 1-44)
9: (p. 1-45)

MATLAB
DVD


MATLAB DVD
MathWorks
" "



MathWorks Web


1-34





MATLAB

Windows


Linux MATLAB

matlab



Mac OS X
Mac OS X
MathWorks
[Authenticate]

1-35
1

MathWorks
(p. 1-3)MathWorks





MathWorks (p. 4-39)

1:



Windows setup.exeLinux
installMac OS X InstallForMacOSX
3
(p. 3-15)

1 ( )
(DVDUSB )
2
DVD

Windows




setup.exe
DVD DVD DVD 1
2
DVD 2
Mac OS X

1-36

DVD DVD DVD 1


DVD
DVD InstallForMacOSX

2 DVD 2



InstallForMacOSX

Linux

./install
DVD DVD DVD 1

/path_to_dvd/install &

DVD
DVD

DVD

DVD

mount -o exec /media/cdrom0

2 DVD 2

1-37
1

2:

DVD [
] []

3:
[] [
]

4:
[
]

[
] []

1-38

MathWorks Web

[ ]
[]

[] MathWorks
Web

ID
(: R2016b)
(
)

1-39
1

1 []
Windows Linux []/[Print]

2 MathWorks Web

3
MathWorks

4

5:
MathWorks
[]

1-40

[
] []

6:
[]

[]

1-41
1

7:

Windows

Windows [ ] []
MATLAB

1-42

Windows 10 [] [[] ]

[]

Linux

Linux matlab mex



/usr/local/bin

[]

1-43
1

8:

[]
[]

1-44

9:
[]

MATLAB []

[MATLAB
] []

1-45
1

1-46

...
1: (p. 1-47)
2: (p. 1-48)
3: (p. 1-49)

1:
MathWorks

[
()] []

1-47
1

2:


MathWorks Web
[ ]

[]

[ ]
[]

[]

MathWorks Web

1-48

MathWorks


[]


MATLAB

3:
[]

1-49
1

MathWorks
MathWorks

2


(p. 1-54)

Windows
MathWorks ()

1 MATLAB
2

Windows 10 [] []
[MATLAB R2016b] [MATLAB R2016b] [
]
Windows 8
[ ] [] [
] [MATLAB
R2016b]
Windows 7 [] [
] [ ] []
[]
[MATLAB R2016b]
Windows XP [] [
] [ ] []
[MATLAB R2016b] []
matlabroot/uninstall/bin/$ARCH
matlabroot MATLAB $ARCH win64

uninstall.exe

1-50
MathWorks


(p. 4-66)

3 [] [
]

MATLAB MathWorks


MathWorks
MATLAB [OK]
[]

MATLAB [MATLAB
()]
MATLAB
MATLAB

1-51
1

MATLAB prefdir

prefdir
ans =
C:\WINNT\Profiles\username\Application Data\MathWorks\MATLAB\R2016b

username MATLAB
4 ()
MATLAB

matlabroot/archives
[]
5 []

[] MATLAB


(p. 1-54)

Linux





(p. 1-54)

1 MATLAB
2 Linux
rm -rf matlabroot

matlabroot MATLAB

Mac OS X

MATLAB

1-52
MathWorks

(p. 1-54)

MATLAB

1 Mac OS X
MATLAB

2 MATLAB MATLAB
3 MATLAB
MATLAB_R2016b.app Applications

4 MATLAB [Finder] [
]

1-53
1

MathWorks



1

2
MathWorks
MathWorks



MathWorks Web


2

MathWorks
(p. 1-50)




MATLAB [] [] [
]

1-54

MATLAB matlabroot

Windows :
matlabroot\uninstall\bin\win64\deactivate_matlab.exe

Linux :
matlabroot/bin/deactivate_matlab.sh

Mac OS X :
/Applications/MATLAB_R2016b.app/bin/deactivate_matlab.sh
Windows 10 [] []
[MATLAB R2016b]

Windows 7 []
[MATLAB]

Windows XP [] [
] [MATLAB] [R2016b] [MATLAB R2016b
]
2 []


MATLAB

1-55
1

[]
[OK] [MathWorks
]

3 []
MathWorks

1-56

4 [OK]

MathWorks
[
] [OK] [MathWorks
]


MathWorks
[]

MathWorks Web

1-57
1

[OK] [MathWorks ]

Deactivation string.

Click OK.

5 [MathWorks
]

[] []

1-58

1-59
1

MathWorks Web System Requirements for


MATLAB

1-60
2

MATLAB
MATLAB

Windows :

Windows 10: [] [] [MATLAB R2017b]


Windows 8: Windows [MATLAB R2017b]

Windows 7: [] [MATLAB R2017b]


Windows XP: [] [] [MATLAB] [R2017b]
[MATLAB R2017b]

MATLAB

matlabroot/bin matlabroot MATLAB


matlab.exe
Linux :

matlab [
]
matlabroot/bin/matlab
matlabroot MATLAB
Mac OS X :

MATLAB

2-2

MATLAB MathWorks


MathWorks Web

2-3
2

MATLAB
MATLAB
() My Documents\MATLAB ( 8:
(p. 1-15)
)MATLAB

2-4
MATLAB

MATLAB
MATLAB matlabroot\toolbox\local
startup.m
startup.m
MATLAB MATLAB local
startupsav.m

MATLAB
MATLAB matlab -logfile
"logfilename"

2-5
2

MATLAB
MATLAB MATLAB
MATLAB


MATLAB MATLAB


[]

MATLAB [] [] [
] []

HTML
MathWorks Web (www.mathworks.com)
[]

2-6
3

MATLAB

MATLAB


1
DVD


(p. 1-34)

1 MathWorks
2


MathWorks
(p. 1-23)

3-2
1

1
...
(p. 3-3)
1: (p. 3-3)
2: (p. 3-5)
3: (p. 3-7)
4: MathWorks (p. 3-7)
5: [] (p. 3-8)
6: (p. 3-9)
7: (p. 3-10)
8: (p. 3-11)
9: (p. 3-12)
10: (p. 3-13)
(p. 3-14)


(p. 3-15)
MATLAB DVD

(p. 1-34)

1:
1 MathWorks Web MATLAB DVD

3-3
3

Web


MathWorks
2
MathWorks Web
DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release
(R2016b ) $ARCH

setup.exe

DVD DVD DVD 1
2
DVD 2
Mac OS X

MathWorks Web
dmg InstallForMacOSX.app

DVD DVD DVD 1
DVD
DVD InstallForMacOSX

2 DVD 2

3-4
1

Linux

unzip
MathWorks Web

./install

DVD DVD DVD 1


/path_to_dvd/install &

DVD
DVD

DVD
DVD

mount -o exec /media/cdrom0

2 DVD 2

2:
[MathWorks ] () []
MathWorks

3-5
3

[]
[] MathWorks

3-6
1

Windows

3:
[] [
]

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks (
)] []

3-7
3

5: []
[]

MathWorks

3-8
1

6:
MathWorks [
]

MathWorks

1 [ ]

2 []

" "

3-9
3

MathWorks
MathWorks Web
MATLAB

7:
MathWorks
[]


[
] []

3-10
1

8:

DVD
MathWorks Web

3-11
3

[]

9:

[]
[]

3-12
1

10:

MATLAB
[]

[MATLAB
] []


MATLAB

3-13
3



MathWorks
(p. 1-23)

3-14

...
(p. 3-15)
1: (p. 3-15)
2: (p. 3-16)
3: (p. 3-18)
4: MathWorks (p. 3-18)
5: [] (p. 3-19)
6: (p. 3-20)
7: (p. 3-21)
8: (p. 3-22)
9: (p. 3-23)
(p. 3-24)


MathWorks

1:
1 MathWorks Web

Web

3-15
3

WindowsLinux Mac OS X
MathWorks
2

Windows MathWorks Web []




setup.exe

Mac OS X MathWorks Web dmg
InstallForMacOSX.app
Linux unzip MathWorks Web

./install

DVD 1 DVD
MathWorks Web

2:
[MathWorks ] () []
MathWorks

3-16

[]
[]
MathWorks

3-17
3

Windows

3:
[] [
]

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks (
)] []

3-18

5: []
[]

MathWorks Web

3-19
3

6:
1 MathWorks

[]


2 1

3-20

7:

[]

[]

3-21
3

8:

[]
[]

3-22

9:

[]

3-23
3








DVD



MathWorks (p. 1-3)

3-24

(FIK)

(p. 1-34)

3-25
4


MathWorks
Microsoft Windows
(64 )Linux (64 ) Mac OS X

4


...
(p. 4-2)
(p. 4-2)


ASCII



INCREMENT
(
INCREMENT )
(\)

(#) MathWorks
(
ID )
# BEGIN-------cut here-------CUT HERE-------BEGIN
# MATLAB license passcode file.
# LicenseNo: 12345 HostID: INTERNET=144.212.101.43
INCREMENT TMW_Archive MLM 18 01-sep-2015 0 \
BC9DE773A77D15AF8 VENDOR_STRING=83 HOSTID=DEMO SN=12345
INCREMENT MATLAB MLM 18 01-sep-2015 1 \
4C9D3348561BE9E3B USER_BASED DUP_GROUP=U SN=12345
INCREMENT SIMULINK MLM 18 01-sep-2015 1 \
1CD148466EF58DF8B USER_BASED DUP_GROUP=U SN=12345
INCREMENT Signal_Toolbox MLM 18 01-sep-2015 1 \
6CF74B458BA143DC3 USER_BASED DUP_GROUP=U SN=12345
# END---------cut here-------CUT HERE-------END


MATLAB
MATLAB
MATLAB

4-2

1 MATLAB -c
-c
-c




2 MATLAB MATLAB
2 MATLAB
MLM_LICENSE_FILE

MLM_LICENSE_FILE
MathWorks (MathWorks
)
LM_LICENSE_FILE FlexNet


3 MATLAB



4
MATLAB MATLAB \licenses
license.dat .lic

4-3
4


MathWorks
MathWorks
MATLAB

1
MATLAB MATLAB

2

MathWorks MathWorks



MathWorks Web
ID


MathWorks Flexera Software, Inc
FlexNet Publisher

MathWorks
MathWorks
MathWorks
MathWorks

MATLAB

4-4

" " MATLAB


( "
" )
MATLAB
MATLAB

Server

MATLAB
FLEXnet

Client Client Client

Windows

Linux Windows


MATLAB MATLAB

" "
MATLAB
MATLAB MATLAB

4-5
4

Server

FLEXnet

Client Client Client

MATLAB MATLAB MATLAB

MathWorks

-
FlexNet


" "
MathWorks MathWorks


MathWorks

MathWorks -
MathWorks


MathWorks
(p. 4-39)

4-6

(
) (p. 4-64)

4-7
4

MATLAB
MathWorks




(p.
4-9)
MathWorks
(p.
4-9)

DVD



(p. 3-15)
MathWorks MathWorks
MathWorks (p. 4-
21)

(p. 4-37)

4-8

MATLAB

R2013b
R2013b R2013b
R2013b
MATLAB

...
(p. 4-9)
1: (p. 4-12)
2: [ ] (p. 4-13)
3: (p. 4-14)
4: (p. 4-14)
5: (p. 4-15)
6: (p. 4-16)
7: (p. 4-17)
8: : Windows (p. 4-18)
9: (p. 4-19)
10: (p. 4-20)


ID

Windows ID MAC
() IP MAC

4-9
4

getmac

(: 00-11-22-aa-bb-cc)

IP

ipconfig
Linux ID eth0 ( )
MAC

/sbin/ifconfig eth0

ID "HWaddr"
Mac OS X ID (en0) MAC
/Applications/Utilities Terminal

netstat -I en0

ID [Address]

1 MathWorks Web
2
3 [Activation and Installation ()]
[Activate ()]
4
ID
[Continue ()]
5
[Continue ()]

(p. 4-57)
MathWorks Web
DVD
MathWorks
MathWorks DVD

4-10

DVD MathWorks


Windows

Linux MATLAB

matlab


Mac OS X
Mac OS X
MathWorks
[Authenticate]

1 MathWorks

MathWorks (p. 4-39)

4-11
4

1:
1 MathWorks Web MATLAB DVD

Web


MathWorks
2
MathWorks Web
DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release
(R2016b ) $ARCH

setup.exe

DVD DVD DVD 1
2
DVD 2
Mac OS X

MathWorks Web
dmg InstallForMacOSX.app

DVD DVD DVD 1
DVD
DVD InstallForMacOSX

4-12

2 DVD 2
Linux

unzip
MathWorks Web

./install

DVD DVD DVD 1


/path_to_dvd/install &

DVD
DVD

DVD
DVD

mount -o exec /media/cdrom0

2 DVD 2

2: [ ]
[ ] []

4-13
4

3:
[] [
]

4:
[ ]
[]

4-14

5:

[]

[]

4-15
4

6:


MathWorks


MathWorks
DVD

(p. 3-15)

4-16

[] []
1

7:
MathWorks Web
[]

4-17
4

license.dat MATLAB
\etc
SERVER DAEMON SERVER
DAEMON

matlabroot/etc
matlabroot MATLAB

8: : Windows

Windows []

[]

4-18


[
()]

9:

[]
[]

4-19
4

10:
[]


MATLAB

4-20
MathWorks

MathWorks

...
(p. 4-21)
1: (p. 4-24)
2: [MathWorks ] (p. 4-26)
3: (p. 4-27)
4: MathWorks (p. 4-27)
5: (p. 4-28)
6: (p. 4-29)
7: (p. 4-30)
8: (p. 4-31)
9: (p. 4-32)
10: : Windows (p. 4-33)
11: (p. 4-34)
12: (p. 4-36)

MATLAB

R2013b
R2013b R2013b
R2013b
MATLAB


ID

4-21
4

Windows ID MAC
() IP MAC

getmac

(: 00-11-22-aa-bb-cc)

IP

ipconfig
Linux ID eth0 ( )
MAC

/sbin/ifconfig eth0

ID "HWaddr"
Mac OS X ID (en0) MAC
/Applications/Utilities Terminal

netstat -I en0

ID [Address]

1 MathWorks Web
2
3 [Activation and Installation ()]
[Activate ()]
4
ID
[Continue ()]
5
[Continue ()]

(p. 4-57)

4-22
MathWorks

MathWorks


MathWorks
" "


MathWorks


Windows

Linux MATLAB

matlab



Mac OS X
Mac OS X
MathWorks
[Authenticate]

4-23
4

1 MathWorks

MathWorks (p. 4-39)

1:
1 MathWorks Web MATLAB DVD

Web


MathWorks
2
MathWorks Web
DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release
(R2016b ) $ARCH

setup.exe

DVD DVD DVD 1
2
DVD 2
Mac OS X

4-24
MathWorks

MathWorks Web
dmg InstallForMacOSX.app

DVD DVD DVD 1
DVD
DVD InstallForMacOSX

2 DVD 2
Linux

unzip
MathWorks Web

./install

DVD DVD DVD 1


/path_to_dvd/install &

DVD
DVD

DVD
DVD

mount -o exec /media/cdrom0

2 DVD 2

4-25
4

2: [MathWorks ]
[MathWorks ] () []
MathWorks

[]
[] MathWorks

4-26
MathWorks

Windows

3:
[] [
]

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks (
)] []

4-27
4

5:
[] () []

4-28
MathWorks

6:
MathWorks
[]


()

MathWorks
[ ]
[] "
"

4-29
4

7:
MathWorks
[]


[
] []

4-30
MathWorks

8:


MathWorks

[] []
1

4-31
4

9:
MathWorks Web
[]

4-32
MathWorks

license.dat MATLAB
\etc
SERVER DAEMON SERVER (
) DAEMON

10: : Windows

Windows []

[]

4-33
4


[
()]

11:

[]
[]

4-34
MathWorks

[]

4-35
4

12:
[]


MATLAB

4-36


MathWorks


lmgrd
MLM MathWorks

1 MathWorks Web License Manager Download


zip
2
(p. 4-57)
3 zip
matlabroot\etc\$ARCH
matlabroot MATLAB $ARCH

4

4-37
4

MathWorks



SERVER

(p. 4-33)



SERVER
MathWorks

-
MathWorks DVD


MathWorks

MathWorks

MathWorks
(p. 4-39)



( ) (p. 4-64)

4-38
MathWorks

MathWorks

...
(p. 4-39)
1: (p. 4-41)
2: (p. 4-43)
3: (p. 4-44)
4: (p. 4-44)
5: MathWorks (p. 4-45)
6: (p. 4-48)
7: (p. 4-49)
8: (p. 4-50)
9: (p. 4-51)
10: (p. 4-52)
11: (p. 4-54)
12: (p. 4-56)

DVD

MATLAB

DVD


4-39
4

MATLAB DVD
MathWorks
MathWorks
MathWorks

MathWorks



MathWorks


SERVER

Windows


Linux MATLAB

matlab



Mac OS X
Mac OS X
MathWorks
[Authenticate]

4-40
MathWorks

MATLAB


MATLAB
MATLAB

1:




Windows setup.exeLinux installMac OS X
InstallForMacOSX 3

(p. 3-15)

4-41
4

1
MathWorks Web
DVD

Windows




setup.exe


setup.exe

DVD DVD DVD 1
2
DVD 2
Mac OS X




InstallForMacOSX



InstallForMacOSX.app

DVD DVD DVD 1
DVD
DVD InstallForMacOSX

2 DVD 2

4-42
MathWorks

Linux

./install
unzip

./install

DVD DVD DVD 1


/path_to_dvd/install &

DVD
DVD

DVD
DVD

mount -o exec /media/cdrom0

2 DVD 2

2:
MathWorks
[
] []

MathWorks
[MathWorks ]

4-43
4

3:
[] [
]

4:
MathWorks
5

DVD [
] []

4-44
MathWorks

5: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks (
)] []

4-45
4

MathWorks


MathWorks Web
MATLAB

[]

4-46
MathWorks

MathWorks
[]
[] MathWorks

[]

4-47
4

6:

MathWorks [
]


()

4-48
MathWorks

[
]

7:
MathWorks
[]

[
] []

4-49
4

8:


[] []
1

4-50
MathWorks

9:

[]

4-51
4

network.lic MATLAB
\licenses

SERVER INCREMENT DAEMON
USE_SERVER

10:

4-52
MathWorks

Windows

Windows [ ] []
MATLAB

Windows 10 [] [[] ]

[]

Linux

Linux matlab mex



/usr/local/bin

[]

4-53
4

11:

[]
[]

4-54
MathWorks




SDK

[]

4-55
4

12:
MathWorks []

4-56


MATLAB
Windows

(Linux Linux
(p. 4-58)
)


...
Windows (p. 4-57)
Linux Mac OS X (p. 4-58)
Linux (p.
4-58)

Windows
Windows

Windows
[]
Windows [] [] [
] [] []
lmtools.exe
MATLAB matlabroot\etc\$ARCH ($ARCH
) lmtools.exe
[Start/Stop/Reread]

4-57
4

Linux Mac OS X
Linux Mac OS X
matlabroot/etc lmstart
matlabroot MATLAB lmstart

Mac OS X lmstart /Applications/Utilities


Terminal MATLAB
/etc

cd /Applications/MATLAB_R2016b.app/etc

: lmstart

(lmgrd)
su
lmgrd

su username -c "lmgrd -c license_file -l /var/tmp/LM_TMW.log"

username

Linux

Linux
Linux

-u username flexnet.boot.linux
username



Linux

4-58


FlexNet

MATLAB PDF
(matlabroot\etc\LicenseAdministration.pdf)

...
LMTOOLS (Windows ) (p. 4-59)
(p. 4-60)

LMTOOLS (Windows )
Windows FlexNet Publisher LMTOOLS
LMTOOLS

LMTOOLS

1 matlabroot\etc\$ARCH lmtools.exe
LMTOOLS matlabroot MATLAB
$ARCH win64
2 [Server Status]
3 [Perform Status Enquiry] lmutil lmstat -a
LMTOOLS

4-59
4


FlexNet

Windows FlexNet lmutil.exe



matlabroot\etc\$ARCH matlabroot
MATLAB $ARCH win64

DOS lmstat lmutil

lmutil lmstat -a -c "C:\Program Files\MATLAB\R2016b\etc\license.dat"

-a -c
lmutil

4-60

lmutil - Copyright (c) 1989-2014 Flexera Software Inc. All Rights Reserved.
Flexible License Manager status on Tue 11/5/2014 10:11

[Detecting lmgrd processes...]


License server status: 27000@ah-jcustomer
License File(s) on customerj: C:\Program Files\MATLAB\R2016b\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

-h

lmutil lmstat -h

Linux Mac OS X
matlabroot/etc
lmstat

lmstat -a

lmutil - Copyright (c) 1989-2016 Flexera Software Inc. All Rights Reserved.
Flexible License Manager status on Fri 11/4/2016 10:11

License server status: 27000@ah-jcustomer


License File(s) on customerj: /user/local/MATLAB/R2016b/etc/license.dat:

customerj: license server UP (MASTER) v.11.9

Vendor daemon status (on customerj):

4-61
4

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



lmdiag
lmdown
(lmgrd )
lmhostid ID
lmreread

: lmreread
FlexNet
INCLUDE 15

lmstat

lmswitchr
lmver

4-62

Linux OS X lmdown

(p. 4-60)
Windows LMTOOLS LMTOOLS
(Windows ) (p. 4-59)
2 Windows

a matlabroot\etc\$ARCH lmtools.exe
LMTOOLS matlabroot MATLAB
$ARCH win64

b [Config Services]
c [Service Name] [Remove Service]

3
(p. 4-9)MathWorks
(p. 4-21)

MATLAB
Answers

How do I install or update the License Manager for a network license?


How can I obtain or update my network license file for my license manager?
How do I update my existing network installation with the new license file I
received?

4-63
4

( )
...
(p. 4-64)
(p. 4-64)

MATLAB ()
(p. 4-66)

MATLAB
MathWorks



( )



(p. 1-34)

1 MATLAB




(p. 3-15)
2

4-64
( )

installer_input.txt

( C:\Users\user\AppData\Local\Temp\mathworks_downloads)

Windows

copy Z:\installer_input.txt C:\temp\my_installer_input.txt


3

destinationFolder=

destinationFolder=C:\Program Files\MATLAB\R2016b



fileInstallationKey=
4
5 -inputFile

Windows [] [
] []

setup.exe -inputFile C:\temp\my_installer_input.txt

Linux Mac OS X

4-65
4

MATLAB
( ) (p. 4-64)

MATLAB uninstall
uninstaller_input.txt
Windows

copy matlabroot\uninstall\uninstaller_input.txt C:\temp\my_uninstall.txt


2
outputFile=

MATLAB




mode=automated []

3
4 -inputFile
(uninstall.exe)

[] []
[]
uninstall

uninstall.exe -inputFile C:\temp\my_uninstall.txt

4-66
5

MathWorks

MathWorks MATLAB


MathWorks Web (www.mathworks.co.jp/support/)

:

5

MathWorks DVD 1 DVD MathWorks Web



Microsoft Windows
DVD setup.exe

5-2

[] []
1
[OK]
[]

5-3
5




MathWorks


[]

[] (
MathWorks (p. 5-5)
)
Enter server name, port, and
other required information.

Click OK.

5-4
MathWorks

MathWorks
MathWorks MathWorks

MathWorks

1
MathWorks
2 MathWorks DVD 1 DVD

3 [ ]
4 2 DVD 2
5 []
[MATLAB ] []

6 [MathWorks ]

[]


[] []
[]
[OK]

5-5
5

Select this option to activate Click OK.


without an account.

[MathWorks ]
[]
7 [ ]
[]

8 []

5-6


MATLAB MathWorks
FLEXnet

matlabroot\etc\$ARCH FlexNet
lmlog.txt

(p. 4-59)

1 MathWorks Web (http://


www.mathworks.co.jp/support/install)
2

FlexNet Publisher
Licensing Toolkit PDF
(matlabroot\etc\LicenseAdministration.pdf)

5-7
5



27000



DAEMON port=

5-8

You might also like