You are on page 1of 176

R2015a

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 415-1
7F

COPYRIGHT 19962015 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)


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

MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
MATLAB . . . . . . . . . . . . . . . . . . . . . 1-3

MathWorks . . . . . . . . . . . . . . 1-4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
1: . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6
2: MathWorks . . . . . . . . . . 1-7
3: . . . . . . . . . . . . . . . 1-10
4: MathWorks . . . . . . . . . . . 1-11
5: . . . . . . . . . . . . . . . . . 1-14
6: . . . . . . . . . . . . . . . . . . . 1-16
7: . . . . . . . . . . . . . . . . . . . . 1-18
8: . . . . . . . . . . . . . . . . . . . 1-19
9: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21
10: . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22

. . . . . . . . . . . . . . . . . . . . . . . . . 1-24

. . . . . . . . . . . . . . . . . . . . . . . . . 1-25

MathWorks . . . . 1-26
1: . . . . . . . . . . . 1-26
2: 1-27
3: MathWorks . . . . . . . . . . . 1-29
4: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-32
5: . . . . . . . . . . . . . . . . . . 1-33
6: . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-34
7: . . . . . . . . . . . . . . . . . . . . 1-36
8: . . . . . . . . . . . . . . . . . . . . . . . 1-37

v
. . . . . . . . . . 1-39
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-39
1: . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41
2: . . . . . . 1-42
3: . . . . . . . . . . . . . . . . . . . . . . . 1-43
4: . . . . . . . . . . . . . . . . . 1-43
5: . . . . . . . . . . . . . . . . . . . 1-45
6: . . . . . . . . . . . . . . . . . . . . 1-46
7: . . . . . . . . . . . . . . . . . . . 1-47
8: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-49
9: . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-50

. . . . . . . . . 1-52
1: . . . . . . . . . . . . . . . . . . . . . . . 1-52
2: . . . . . . . . . . . . . . . . . 1-53
3: . . . . . . . . . . . . . . . . . . . . . . . 1-54

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-55
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . 1-55
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-56
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . 1-56
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . 1-56
MATLAB . . . . . . . . . . . . . . 1-57
MATLAB . . . . . . . . . . . . . . . . . 1-57

MathWorks . . . . . . . . . . . . . . . . . . . . . . . . . 1-59
Windows . . . . . . . . . . . . . . . . . . . . . . 1-59
Linux . . . . . . . . . . . . . . . . 1-61
Mac OS X . . . . . . . . . . . . 1-61

. . . . . . . . . . . . . . . . . . . . . . 1-63

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-68
.............................................. 1-68


2
. . . . . . . . . . . . . . . . . . . . . . 2-2

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

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


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

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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9

vii

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

MathWorks 3-22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
1: . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
2: [MathWorks ] . . . . . . . . 3-26
3: . . . . . . . . . . . . . . . 3-28
4: MathWorks . . . . . . . . . . . 3-28
5: . . . . . . . . . . . . . . . . . . . 3-29
6: . . . . . . . . . . . . . . . . . 3-30
7: . . . . . . . . . . . . . . . . . . . 3-31
8: . . 3-32
9: . . . . . . . . . . . . . . . . . 3-34
10: : Windows . 3-34
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
12: . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38

. . . . . . . . . . . . . . . . 3-39

. . . . . . . . . . . . . . . . . . . 3-40

MathWorks . . . . . 3-41
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41
1: . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
2: . . . . . . . . . . . . . . . . . . . . . . . 3-45
3: . . . . . . . . . . . . . . . 3-46
4: . . . . . . . . . . . . . . . . . 3-46
5: MathWorks . . . . . . . . . . . 3-47
6: . . . . . . . . . . . . . . . . . 3-50
7: . . . . . . . . . . . . . . . . . . . 3-51
8: . . . . . . . . . . . . . . . . . . . . 3-52
9: . . . . . . . . . . . . . . . . . 3-54

viii
10: . . . . . . . . . . . . . . . . . . 3-54
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-56
12: . . . . . . . . . . . . . . . . . . . . . . . . . . 3-59

. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-60
. . . . . . . . . . . . . . . . . . . . . . . . 3-60
Linux
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-61
. . . . . . . . . . . . . . . . . . . . . . . . 3-62

( ) . . . . . . . . . . . . . 3-66
. . . . . . . . . . . . . . . . 3-66
. . . . . . . . . . . . . . . . . 3-66

. . . . . . . . . . . . . . . . . . . . . . . . . . 3-68


4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
. . . . . . . . . . . . . . . . . . . . . 4-2
. . . . . . . . . . . . . . 4-2
. . . . . . . . . . . . . . . . . . 4-2
MathWorks . . . . . . . . 4-3

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

ix
1

MathWorks

(p. 1-2)
MATLAB (p. 1-3)
MathWorks (p. 1-4)
(p. 1-24)
(p. 1-25)
MathWorks (p. 1-26)
(p. 1-39)
(p. 1-52)
(p. 1-55)
MathWorks (p. 1-59)
(p. 1-63)
(p. 1-68)
1

MathWorks
MathWorks

Microsoft Windows (32 64 )


Linux (64 )
Mac OS X

MathWorks (p. 1-4)


MathWorks (p. 1-26)
(p. 1-39)
(p. 1-55)
MathWorks (p. 1-59)
(p. 1-63)
(p. 1-68)

1-2
MATLAB

MATLAB
MATLAB

MATLAB
MATLAB Simulink
MATLAB MathWorks

MATLAB for Student Use


MATLAB
MATLAB
MathWorks

MATLAB



www.mathworks.co.jp/jstudent

1-3
1

MathWorks
...
(p. 1-4)
1: (p. 1-6)
2: MathWorks (p. 1-7)
3: (p. 1-10)
4: MathWorks (p. 1-11)
5: (p. 1-14)
6: (p. 1-16)
7: (p. 1-18)
8: (p. 1-19)
9: (p. 1-21)
10: (p. 1-22)

MathWorks

MathWorks
" "

MATLAB
MathWorks Web

1-4
MathWorks


MATLAB

Windows

Linux MATLAB

matlab


Mac OS X
Mac OS X
MathWorks
[Authenticate]


(p. 1-39)

1-5
1

1:

: MATLAB DVD MathWorks Web


1 MathWorks Web MATLAB DVD


Web


MathWorks
2
MathWorks Web DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release (R2015a
)$ARCH

setup.exe

DVD DVD DVD

Mac OS X

MathWorks Web

InstallForMacOSX.app
DVD DVD DVD
DVD DVD

1-6
MathWorks

InstallForMacOSX

Linux

unzip MathWorks Web



./install

DVD DVD DVD


/path_to_dvd/install &

DVD
DVD

mount -o exec /media/cdrom0

2: MathWorks
[MathWorks ] () []
MathWorks

1-7
1

1-8
MathWorks

[] [
] MathWorks

: Windows

1-9
1

3:
[] []

1-10
MathWorks

4: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks (
)] []

MathWorks

1-11
1


MathWorks Web MATLAB

[]

: MathWorks
[] []
MathWorks
[]

1-12
MathWorks

1-13
1

5:
MathWorks []

MathWorks

1 [ ]
2 []

" "

MathWorks
MathWorks Web
MATLAB
MathWorks Web

1-14
MathWorks

[ ]
[]

MATLAB
MathWorks Web

1-15
1

6:
MathWorks
[]


[]
[]

1-16
MathWorks

1-17
1

7:



: DVD
MathWorks Web
[
]

1-18
MathWorks

[]

8:

Windows

Windows [ ] []
MATLAB

[]

Linux

Linux matlab mex

/usr/local/bin

[]

1-19
1

1-20
MathWorks

9:

[] [
]

[]

1-21
1

10:


MATLAB []

1-22
MathWorks

[MATLAB
] []

MATLAB

MathWorks
(p. 1-26)

1-23
1

MATLAB

MathWorks Web

1-24

: MATLAB

MATLAB
MathWorks Web

MATLAB

MATLAB

:

10
9 MATLAB
9

1-25
1

MathWorks

...
1: (p. 1-26)
2: (p. 1-27)
3: MathWorks (p. 1-29)
4: (p. 1-32)
5: (p. 1-33)
6: (p. 1-34)
7: (p. 1-36)
8: (p. 1-37)

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-26
MathWorks

2:
"" MathWorks

MathWorks

[]

1-27
1

MathWorks

[
()]
MATLAB

[]


1-28
MathWorks

: Windows

[]
[]
MathWorks

3: MathWorks

MathWorks []
MathWorks

MathWorks [ ( )]
[]

[
] []


[]

1-29
1

MathWorks

MathWorks Web
MATLAB
MathWorks Web

[]

1-30
MathWorks

: MathWorks
[] []
MathWorks
[]

1-31
1

4:

MathWorks []

MathWorks
[ ]
[] " "

1-32
MathWorks

MATLAB
MathWorks Web

5:

1-33
1

[
]
[]

[]

6:

: []



[ ]
MathWorks

1-34
MathWorks

ID
MathWorks


[]
[]

[
]
[]
MathWorks

1-35
1

7:
[]

MathWorks (
[ ]
)
MathWorks
MathWorks MathWorks

1-36
MathWorks

8:
[]

1-37
1

1-38


...
(p. 1-39)
1: (p. 1-41)
2: (p. 1-42)
3: (p. 1-43)
4: (p. 1-43)
5: (p. 1-45)
6: (p. 1-46)
7: (p. 1-47)
8: (p. 1-49)
9: (p. 1-50)

MATLAB
DVD


MATLAB DVD
MathWorks
" "



MathWorks Web


1-39
1

:


MATLAB

Windows

Linux MATLAB

matlab


Mac OS X
Mac OS X
MathWorks
[Authenticate]

1-40

MathWorks (p.
1-4)MathWorks




MathWorks

1:

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

1 ( )
(DVDUSB )
2
DVD

Windows




setup.exe
DVD DVD DVD

Mac OS X

DVD DVD DVD


DVD DVD

1-41
1

InstallForMacOSX




InstallForMacOSX

Linux

./install
DVD DVD DVD

/path_to_dvd/install &

DVD
DVD

mount -o exec /media/cdrom0

2:
DVD
[ ]
[]

1-42

3:
[] []

4:
[ ]

[ ]
[]
MathWorks Web

[ ]
[]

1-43
1

[] MathWorks Web

ID
(: R2015a)
(
)

1-44


1 []
Windows Linux []/[Print]

2 MathWorks Web

3
MathWorks

4

5:
MathWorks
[]

1-45
1


[]
[]

6:
[]



[]

1-46

7:

Windows

Windows [ ] []
MATLAB

[]

1-47
1

Linux

Linux matlab mex



/usr/local/bin

[]

1-48

8:

[] [
]

1-49
1

9:
[]


MATLAB []

[MATLAB ]
[]

1-50

1-51
1

...
1: (p. 1-52)
2: (p. 1-53)
3: (p. 1-54)

1:
MathWorks

[ ()]
[]

1-52

2:

MathWorks Web
[
]
[]

[ ]
[]

[]

MathWorks Web MathWorks


1-53
1


[]

:
MATLAB

3:
[]

1-54

...
MATLAB (p. 1-55)
(p. 1-56)
MATLAB (p. 1-56)
MATLAB (p. 1-56)
MATLAB (p. 1-57)
MATLAB (p. 1-57)

MATLAB
MATLAB

Windows :

Windows 8 Windows
[MATLAB R2015a]

Windows 7 Windows []
[MATLAB R2015a]
Windows XP Windows [] [
] [MATLAB] [R2015a] [MATLAB R2015a]


MATLAB

matlabroot/bin matlabroot MATLAB


matlab.exe
Linux :
1-55
1

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

MATLAB


MATLAB MathWorks


MathWorks Web

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

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

1-56

MATLAB
MATLAB Notebook notebook -setup MATLAB
mex -setup

MATLAB
""
MATLAB
MATLAB MATLAB
(en_US.US-ASCII)

MATLAB "UI "


()
UI JVM (Java Virtual
Machine)

MATLAB
MATLAB MATLAB
MATLAB


MATLAB MATLAB


[]


MATLAB [] [] [] [
] HTML

1-57
1


MathWorks Web (www.mathworks.com)
[]

1-58
MathWorks

MathWorks
MathWorks

: 2

(p.
1-63)

Windows
MathWorks ()

1 MATLAB
2

Windows 8
[ ] [] []
[MATLAB R2015a]
Windows 7 [] [
] [ ] [] [
] [MATLAB R2015a]

Windows XP [] [] [
] [] [MATLAB
R2015a] []
matlabroot/uninstall/bin/$ARCH
matlabroot MATLAB $ARCH win64

uninstall.exe



3 [] []

1-59
1

MATLAB MathWorks


MathWorks MATLAB
[OK]
[]

MATLAB [MATLAB
()]
MATLAB
MATLAB
MATLAB prefdir
4 () MATLAB


matlabroot/archives []

1-60
MathWorks

5 []
[]
MATLAB

(p. 1-63)

Linux

(p. 1-63)

1 MATLAB
2 Linux
rm -rf matlabroot

matlabroot MATLAB

Mac OS X

: MATLAB

(p. 1-63)

MATLAB
1 Mac OS X MATLAB

2 MATLAB MATLAB lmdown

3 MATLAB
MATLAB_R2015a.app

1-61
1

4 MATLAB [Finder] []

1-62

MathWorks



1

2
MathWorks
MathWorks


MathWorks Web


: 2

MathWorks (p. 1-59)




MATLAB [] []

MATLAB matlabroot

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

1-63
1

Linux :
matlabroot/bin/deactivate_matlab.sh

Mac OS X :
/Applications/MATLAB_R2015a.app/bin/deactivate_matlab.sh
Windows 7 [] [MATLAB]

Windows XP [] [
] [MATLAB] [R2015a] [MATLAB R2015a ]

2 []


MATLAB

1-64

[]
[OK] [MathWorks
]

3 []
MathWorks

4 [OK]

MathWorks
[]
[OK] [MathWorks ]

1-65
1

5 [MathWorks ]

[
] []

1-66

1-67
1

MathWorks Web (www.mathworks.com)


1-68
2

(p. 2-2)
(p. 2-3)
(p. 2-15)
2

MATLAB
MATLAB


1
DVD


(p. 1-39)

1 MathWorks
2 []
3


MathWorks

2-2

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

(p.
2-15)
MATLAB DVD
(p. 1-39)

1:
1 MathWorks Web MATLAB DVD

2-3
2

Web


MathWorks
2
MathWorks Web DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release (R2015a
)$ARCH

setup.exe

DVD DVD DVD

Mac OS X

MathWorks Web

InstallForMacOSX.app
DVD DVD DVD
DVD DVD
InstallForMacOSX

Linux

2-4

unzip MathWorks Web



./install

DVD DVD DVD


/path_to_dvd/install &

DVD
DVD

mount -o exec /media/cdrom0

2:
[MathWorks ] () []
MathWorks

2-5
2

2-6

[] [
] MathWorks

: Windows

3:
[] []

4: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks (
)] []

2-7
2

5: []
[]

MathWorks

2-8

6:
MathWorks []

MathWorks

1 [ ]
2 []

" "

2-9
2

MathWorks
MathWorks Web
MATLAB
MathWorks Web

7:
MathWorks
[]

2-10

[]
[]

8:

: DVD
MathWorks Web

2-11
2

2-12

[]

9:

[] [
]

10:

MATLAB []

2-13
2

[MATLAB
] []

MATLAB



MathWorks

2-14

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


MathWorks

1:
1 MathWorks Web

Web

2-15
2

WindowsLinux Mac OS X
MathWorks
2

Windows MathWorks Web []




setup.exe

Mac OS X MathWorks Web

InstallForMacOSX.app
Linux unzip MathWorks Web

./install

: DVD DVD
MathWorks Web

2:
[MathWorks ] () []
MathWorks

2-16

2-17
2

[]
[] MathWorks

: Windows

3:
[] []

4: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks (
)] []

2-18

5: []
[]

MathWorks Web

2-19
2

6:
1 MathWorks

[]

2 1

2-20

7:

[
]

[]

2-21
2

8:

[]
[]

2-22

9:

[]

2-23
2






DVD


MathWorks (p. 1-4)
(FIK)
(p. 1-39)

2-24
3


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

(p. 3-2)
(p. 3-4)
(p. 3-9)
(p. 3-10)
MathWorks (p. 3-22)
(p. 3-39)
(p. 3-40)
MathWorks (p. 3-41)
(p. 3-60)
( )(p. 3-66)
(p. 3-68)
3


...
(p. 3-2)
(p. 3-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-2010 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

3-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

3-3
3


MathWorks
MathWorks
MATLAB

1
MATLAB MATLAB

2
MathWorks
MathWorks

:
MathWorks Web

ID

3-4


MathWorks Flexera Software, Inc FlexNet
Publisher
MathWorks
MathWorks
MathWorks
MathWorks

MATLAB

3-5
3

" " MATLAB


( " "
) MATLAB
MATLAB

Server

MATLAB
FLEXnet

Client Client Client

Windows
Linux
Windows

MATLAB
MATLAB

3-6

" "
MATLAB
MATLAB MATLAB

Server

FLEXnet

Client Client Client

MATLAB MATLAB MATLAB

MathWorks

-
FlexNet

"
"
MathWorks MathWorks


MathWorks

MathWorks -
MathWorks

3-7
3


MathWorks (p. 3-41)




( )(p. 3-66)

3-8

MATLAB
MathWorks



(p. 3-10)
MathWorks
(p. 3-10)


DVD




MathWorks MathWorks
MathWorks (p. 3-22)


(p. 3-39)

3-9
3

MATLAB

: R2013b
R2013b R2013b
R2013b MATLAB

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


ID

Windows ID MAC (
) IP MAC

getmac

3-10

(: 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. 3-60)
MathWorks Web
DVD
MathWorks
MathWorks DVD

3-11
3

DVD MathWorks


Windows

Linux MATLAB

matlab


Mac OS X
Mac OS X
MathWorks
[Authenticate]

1 MathWorks
MathWorks
(p. 3-41)

3-12

1:
1 MathWorks Web MATLAB DVD

Web


MathWorks
2
MathWorks Web DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release (R2015a
)$ARCH

setup.exe

DVD DVD DVD

Mac OS X

MathWorks Web

InstallForMacOSX.app
DVD DVD DVD
DVD DVD
InstallForMacOSX

3-13
3

Linux

unzip MathWorks Web



./install

DVD DVD DVD


/path_to_dvd/install &

DVD
DVD

mount -o exec /media/cdrom0

2: [ ]
[ ] []

3-14

3:
[] []

4:
[ ]
[]

3-15
3

5:

[]

[]

3-16

6:


MathWorks

: MathWorks
DVD

3-17
3

[] []

7:
MathWorks Web
[]

3-18

license.dat MATLAB
\etc
SERVER DAEMON SERVER
DAEMON
matlabroot/etc matlabroot
MATLAB

8: : Windows

Windows []
[]

3-19
3

:
[ (
)]

9:

[] []

3-20

10:
[]


MATLAB

3-21
3

MathWorks

...
(p. 3-22)
1: (p. 3-25)
2: [MathWorks ] (p. 3-26)
3: (p. 3-28)
4: MathWorks (p. 3-28)
5: (p. 3-29)
6: (p. 3-30)
7: (p. 3-31)
8: (p. 3-32)
9: (p. 3-34)
10: : Windows (p. 3-34)
11: (p. 3-35)
12: (p. 3-38)

MATLAB

: R2013b
R2013b R2013b
R2013b MATLAB


ID

Windows ID MAC (
) IP MAC

3-22
MathWorks

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. 3-60)
MathWorks

3-23
3

MathWorks
" "

MathWorks



Windows

Linux MATLAB

matlab


Mac OS X
Mac OS X
MathWorks
[Authenticate]

3-24
MathWorks

1 MathWorks
MathWorks
(p. 3-41)

1:
1 MathWorks Web MATLAB DVD

Web


MathWorks
2
MathWorks Web DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release (R2015a
)$ARCH

setup.exe

DVD DVD DVD

Mac OS X

3-25
3

MathWorks Web

InstallForMacOSX.app
DVD DVD DVD
DVD DVD
InstallForMacOSX

Linux

unzip MathWorks Web



./install

DVD DVD DVD


/path_to_dvd/install &

DVD
DVD

mount -o exec /media/cdrom0

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

3-26
MathWorks

3-27
3

[] [
] MathWorks

: Windows

3:
[] []

4: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks (
)] []

3-28
MathWorks

5:
[] () []

3-29
3

6:
MathWorks
[]


()

MathWorks
[ ]
[] " "

3-30
MathWorks

7:
MathWorks
[]

[]
[]

3-31
3

8:


MathWorks


[] []

3-32
MathWorks

3-33
3

9:
MathWorks Web
[]

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

10: : Windows

Windows []

3-34
MathWorks

[]

:
[ (
)]

11:

[] []

3-35
3

[]

3-36
MathWorks

3-37
3

12:
[]


MATLAB

3-38


MathWorks


lmgrd
MLM MathWorks

1 MathWorks Web License Manager Download (


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

4

3-39
3

MathWorks



SERVER
(p. 3-34)

:

SERVER MathWorks

-
MathWorks DVD


MathWorks

MathWorks

MathWorks
(p. 3-41)


(
)(p. 3-66)

3-40
MathWorks

MathWorks

...
(p. 3-41)
1: (p. 3-43)
2: (p. 3-45)
3: (p. 3-46)
4: (p. 3-46)
5: MathWorks (p. 3-47)
6: (p. 3-50)
7: (p. 3-51)
8: (p. 3-52)
9: (p. 3-54)
10: (p. 3-54)
11: (p. 3-56)
12: (p. 3-59)

DVD

MATLAB

DVD

MATLAB DVD
MathWorks

3-41
3

MathWorks
MathWorks

MathWorks



MathWorks

SERVER

Windows

Linux MATLAB

matlab


Mac OS X
Mac OS X
MathWorks
[Authenticate]

3-42
MathWorks

MATLAB


MATLAB
MATLAB

1:

:

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

1
MathWorks Web
DVD

Windows




setup.exe


setup.exe

3-43
3

DVD DVD DVD



Mac OS X




InstallForMacOSX



InstallForMacOSX.app
DVD DVD DVD
DVD DVD
InstallForMacOSX

Linux

./install
unzip

./install

DVD DVD DVD


/path_to_dvd/install &
3-44
MathWorks

DVD
DVD

mount -o exec /media/cdrom0


unzip

./install

DVD DVD DVD


/path_to_dvd/install &

DVD
DVD

mount -o exec /media/cdrom0

2:
MathWorks
[ ] [
]

MathWorks
[MathWorks ]

3-45
3

3:
[] []

4:
MathWorks
5

DVD [
] []

3-46
MathWorks

5: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks (
)] []

3-47
3

MathWorks


MathWorks Web MATLAB

[]

3-48
MathWorks

: MathWorks
[] []
MathWorks
[]

3-49
3

6:

MathWorks []


()

3-50
MathWorks

[
]

7:
MathWorks
[]

[]
[]

3-51
3

8:


[] []

3-52
MathWorks

3-53
3

9:

[]

network.lic MATLAB
\licenses
SERVER INCREMENT DAEMON
USE_SERVER

10:

3-54
MathWorks

Windows

Windows [ ] []
MATLAB

[]

Linux

Linux matlab mex

/usr/local/bin

[]

3-55
3

11:

[] [
]

3-56
MathWorks

[]

3-57
3

3-58
MathWorks

12:
MathWorks []

3-59
3


...
(p. 3-60)
Linux (p. 3-61)
(p. 3-62)


MATLAB
Windows
(Linux
Linux
(p. 3-61))


Windows (p. 3-60)


Linux Mac OS X (p. 3-61)

Windows

Windows

Windows [
]
Windows [] [] [ ] []
[]
lmtools.exe MATLAB
matlabroot\etc\$ARCH ($ARCH

3-60

) lmtools.exe [Start/Stop/
Reread]

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_R2015a.app/etc

: lmstart

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

Linux
Linux
Linux

lmboot_TMW -u username username

Linux

3-61
3


FlexNet
MATLAB
PDF (matlabroot\etc
\LicenseAdministration.pdf)

LMTOOLS (Windows )(p. 3-62)


(p. 3-63)

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] LMTOOLS lmutil
lmstat -a

3-62

FlexNet

Windows FlexNet lmutil.exe

matlabroot\etc\$ARCH matlabroot MATLAB


$ARCH win64
DOS
lmstat lmutil
lmutil lmstat -a -c "C:\Program Files\MATLAB\R2015a\etc\license.dat"

-a -c
lmutil

3-63
3

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\R2015a\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-2014 Flexera Software Inc. All Rights Reserved.
Flexible License Manager status on Tue 11/5/2014 10:11

License server status: 27000@ah-jcustomer


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

customerj: license server UP (MASTER) v.11.9

Vendor daemon status (on customerj):

MLM: UP v11.9

Feature usage info:

3-64

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

3-65
3

( )
...
(p. 3-66)
(p. 3-66)

: MATLAB ()
(p. 3-68)

MATLAB
MathWorks


(
)

installer_input.txt
MathWorks DVD
( C:\Users
\user\AppData\Local\Temp\mathworks_downloads)
2

destinationFolder=

3-66
( )

destinationFolder=C:\Program Files\MATLAB\R2015a


fileInstallationKey=

3
4 -inputFile

Windows [] []
[]

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

Linux Mac OS X

3-67
3

: MATLAB (
)(p. 3-66)

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

3-68
4

MathWorks

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

MathWorks MATLAB

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

...
(p. 4-2)
(p. 4-2)
(p. 4-2)
MathWorks (p. 4-3)


MathWorks DVD DVD MathWorks Web

Microsoft Windows DVD


setup.exe


[] []

[OK]
[]




MathWorks


[]
[]

4-2

(MathWorks
(p. 4-3))
Enter server name, port, and
other required information.

Click OK.

MathWorks
MathWorks MathWorks

MathWorks
1
MathWorks
2 MathWorks DVD DVD

3 [ ]
4 []
[MATLAB ] []

4-3
4

5 [MathWorks ]

[]

[] [] [
] [OK]

Select this option to activate Click OK.


without an account.

[MathWorks ] []

6 [] []

: [
]
7 []

4-4

MATLAB


MATLAB MathWorks
FLEXnet

matlabroot\etc\$ARCH FlexNet lmlog.txt


(p. 3-62)

1 MathWorks Web (http://www.mathworks.co.jp/


support/install)
2

FlexNet Publisher Licensing


Toolkit PDF (matlabroot\etc
\LicenseAdministration.pdf)


27000


4-5
4


DAEMON port= <>

4-6

You might also like