You are on page 1of 180

MATLAB Simulink

R2014b

MathWorks
:

www.mathworks.co.jp

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 19962014 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
1997
1998
1999
1999
2000
2001
2002

12
5
3
1
11
11
6
7

2
3
4
5
6
7
8

2004
2004
2005
2005
2006
2006
2007
2007
2008
2008
2009
2009
2010
2010

6
10
3
9
3
9
3
9
3
10
3
9
3
9

9
10
11
12
13
14

2011
2011
2012
2012
2013
2013
2014
2014

4
9
3
9
3
9
3
9

MATLAB 5.0 (Release 8)


MATLAB 5.1 (Release 9)
MATLAB 5.2 (Release 10)
MATLAB 5.3 (Release 11)
MATLAB 5.3.1 (Release 11.1)
MATLAB 6.0 (Release 12)
MATLAB 6.1 (Release 12.1)
MATLAB 6.5 (Release 13)
Windows
MATLAB 7.0 (Release 14)
MATLAB 7.0.1 (Release 14SP1)
MATLAB 7.0.4 (Release 14SP2)
MATLAB 7.1 (Release 14SP3)
MATLAB 7.2 (Release 2006a)
MATLAB 7.3 (Release 2006b)
MATLAB 7.4 (Release 2007a)
MATLAB 7.5 (Release 2007b)
MATLAB 7.6 (Release 2008a)
MATLAB 7.7 (Release 2008b)
MATLAB 7.8 (Release 2009a)
MATLAB 7.9 (Release 2009b)
MATLAB 7.10 (Release 2010a)
MATLAB 7.11 (Release 2010b)

MATLAB 7.12 (Release 2011a)
MATLAB 7.13 (Release 2011b)
MATLAB 7.14 (Release 2012a)
MATLAB 8.0 (Release 2012b)
MATLAB 8.1 (Release 2013a)
MATLAB 8.2 (Release 2013b)
MATLAB 8.3 (Release 2014a)
MATLAB 8.4 (Release 2014b)

1
. . . . . . . . . . . . . . . . . . . . . . . . .

1-2

MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . .

1-3
1-3

MathWorks . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . . .
2: MathWorks . . . . . . . . . .
3: . . . . . . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . . .

1-4
1-4
1-6
1-7
1-9
1-9
1-12
1-14
1-15
1-16
1-18
1-20

. . . . . . . . . . . . . . . . . . . . . . . . .

1-22

MathWorks . . . .
1: . . . . . . . . . . .
2:
3: MathWorks . . . . . . . . . . .
4: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . . . . . . .

1-23
1-23
1-24
1-26
1-29
1-30
1-31
1-33
1-34

. . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-36
1-36

1: . . . . . . . . . . . . . . . . . . . . . . . . . .
2: . . . . . .
3: . . . . . . . . . . . . . . . . . . . . . . .
4: . . . . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-38
1-39
1-40
1-41
1-43
1-44
1-45
1-47
1-48

. . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . .
2: . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . . . . . . . . . . . . . . .

1-50
1-50
1-51
1-52

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . . . . . . . . .
MATLAB . . . . . . . . . . . . . . . . .

1-54
1-54
1-55
1-55
1-55
1-56

MathWorks . . . . . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . .
Mac OS X . . . . . . . . . . . .

1-57
1-57
1-59
1-60

. . . . . . . . . . . . . . . . . . . . . .

1-61

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
..............................................

1-67
1-67

vi

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2-2

. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . . .

2-3
2-3
2-3

2: . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . .
5:[] . . . . . . . . . . . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . .
2: . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . . . . . .
4: MathWorks . . . . . . . . . . .
5:[] . . . . . . . . . . . . . . .
6: . . . . . . .
7: . . . . . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . . . . . . . . . . . . . . .

2-5
2-7
2-7
2-8
2-9
2-10
2-11
2-12
2-13
2-14
2-15
2-15
2-15
2-16
2-18
2-18
2-19
2-20
2-21
2-22
2-23
2-24

3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .

3-2
3-2
3-2

. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .

3-4
3-4

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-8


...............................................
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . . .

3-9
3-9
3-11

vii

viii

2:[ ] . . . . . . . .
3: . . . . . . . . . . . . . . .
4: . . . . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . . . .
6: . . .
7: . . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-13
3-13
3-14
3-15
3-16
3-17
3-18
3-20
3-21

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

3-23
3-23
3-25
3-27
3-28
3-29
3-30
3-31
3-32
3-33
3-34
3-35
3-37
3-39

. . . . . . . . . . . . . . . .

3-41

. . . . . . . . . . . . . . . . . . .

3-42

MathWorks
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . . .
2: . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . . . . . .
4: . . . . . . . . . . . . . . . . .
5: MathWorks . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . .
7: . . . . . . . . . . . . . . . . . . .
8: . . . . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-43
3-43
3-45
3-47
3-48
3-49
3-50
3-53
3-54
3-55
3-56
3-57
3-59
3-61

. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
Linux
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mac OS X
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .

3-63
3-63

( ) . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .

3-70
3-70
3-70

. . . . . . . . . . . . . . . . . . . . . . . . . .

3-72

3-64
3-65
3-66

4
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
MathWorks . . . . . . . .

4-2
4-2
4-2
4-2
4-3

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . .

4-5
4-5
4-5

ix

MathWorks

1-2

1-3 MATLAB

1-4 MathWorks

1-22

1-23 MathWorks

1-36

1-50

1-54

1-57 MathWorks

1-61

1-67

MathWorks
MathWorks

Microsoft Windows (32 64 )

Linux (64 )

Mac OS X

1-4 MathWorks

1-23 MathWorks

1-36

1-54

1-57 MathWorks

1-61

1-67

1-2

MATLAB

MATLAB
MATLAB

MATLAB & Simulink Student Version


MATLAB Simulink
MATLAB & Simulink Student Version
MathWorks

MATLAB Student

MATLAB
MATLAB
MathWorks

MATLAB

www.mathworks.co.jp/jstudent

1-3

MathWorks
...
1-4
1-6 1:
1-7 2: MathWorks
1-9 3:
1-9 4: MathWorks
1-12 5:
1-14 6:
1-15 7:
1-16 8:
1-18 9:
1-20 10:

MathWorks

MathWorks
" "

MATLAB
MathWorks Web

1-4

MathWorks

MATLAB

Windows

Linux MATLAB

matlab

Mac OS X
Mac OS X
MathWorks
[Authenticate]

1-36

1-5

1:
: MATLAB DVD MathWorks Web

MathWorks Web MATLAB DVD

Web

MathWorks

MathWorks Web DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release (R2014b
)$ARCH

setup.exe

1-6

DVD DVD DVD

Mac OS X

MathWorks Web

InstallForMacOSX.app

DVD DVD DVD


DVD DVD

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

[] [
] MathWorks

1-8

MathWorks

: Windows

3:
[] []

4: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks ]
[]

1-9

MathWorks


MathWorks Web MATLAB

:
[]

1-10

MathWorks

: MathWorks
[] []
MathWorks
[]

1-11

5:
MathWorks []

MathWorks

[ ]

[]
" "

MathWorks
MathWorks Web
MATLAB

1-12

MathWorks

MathWorks Web

[ ]
[]

:

1-13

MATLAB
MathWorks Web

6:
MathWorks
[]

[]
[]

1-14

MathWorks

7:

: DVD
MathWorks Web
[
]

1-15

[]

8:

Windows
Windows [ ] []
MATLAB
[]

1-16

MathWorks

Linux
Linux matlab mex
/
usr/local/bin
[]

1-17

9:

[] [
]

1-18

MathWorks

[]

1-19

10:

MATLAB []

[MATLAB
] []

MATLAB

1-20

MathWorks

1-23 MathWorks

1-21

: MATLAB
MATLAB


MATLAB

10
9 MATLAB
9

1-22

MathWorks

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

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

2:
"" MathWorks

MathWorks

[]

MathWorks

[
]
MATLAB
[]

1-24

MathWorks


: Windows

[]
[]
MathWorks

1-25

3: MathWorks
:

MathWorks []
MathWorks

MathWorks [MathWorks ]
[]
[ ]
[]


[]

1-26

MathWorks

MathWorks



:
MathWorks Web
MATLAB
MathWorks Web

[]

1-27

: MathWorks
[] []
MathWorks
[]

1-28

MathWorks

4:
:

MathWorks []

MathWorks
[ ]
[] " "

1-29

:
MATLAB
MathWorks Web

5:
:

1-30

MathWorks

[
]
[]
[]

6:
: []



[ ]
MathWorks

1-31

ID
MathWorks


[]
[]

[
]
[]
MathWorks

1-32

MathWorks

7:
[]
MathWorks (
[ ]
)
MathWorks
MathWorks MathWorks

1-33

8:
[]

1-34

MathWorks

1-35


...
1-36
1-38 1:
1-39 2:
1-40 3:
1-41 4:
1-43 5:
1-44 6:
1-45 7:
1-47 8:
1-48 9:

MATLAB
DVD

MATLAB DVD
MathWorks

MathWorks Web

1-36

MATLAB

Windows

Linux MATLAB

matlab

Mac OS X
Mac OS X
MathWorks
[Authenticate]

1-37

1-4 MathWorks
MathWorks

1:
:
Windows setup.exeLinux
installMac OS X InstallForMacOSX 3
2-15

( )
(DVDUSB )

DVD

Windows

setup.exe

DVD DVD DVD

Mac OS X

1-38

DVD DVD DVD


DVD DVD
InstallForMacOSX

InstallForMacOSX

Linux


./install

DVD DVD DVD

/path_to_dvd/install &

DVD
DVD

mount -o exec

/media/cdrom0

2:
DVD
[ ]
[]

1-39

3:
[] []

1-40

4:
[ ]

[ ]
[]
MathWorks Web
[ ]
[]

1-41


[] MathWorks Web

1-42

ID

(: R2014b)

(
)

[]
Windows Linux []/[Print]

MathWorks Web


MathWorks

5:
MathWorks
[]

1-43

[]
[]

6:
[]


[]

1-44

7:

Windows
Windows [ ] []
MATLAB
[]

1-45

Linux
Linux matlab mex
/
usr/local/bin
[]

1-46

8:

[] [
]

1-47

9:
[]

MATLAB []

[MATLAB ]
[]

1-48

1-49

...
1-50 1:
1-51 2:
1-52 3:

1:
MathWorks

[]
[]

1-50

2:

MathWorks Web
[
]
[]
[ ]
[]


[]

MathWorks Web MathWorks


1-51

[]
:
MATLAB

3:
[]

1-52

1-53

...
1-54 MATLAB
1-55
1-55 MATLAB
1-55 MATLAB
1-56 MATLAB

MATLAB
MATLAB

Windows :

Windows 8 Windows
[MATLAB R2014b]

Windows 7 Windows []
[MATLAB R2014b]

Windows XP Windows [] [
] > [MATLAB] > [R2014b] [MATLAB R2014b]

MATLAB

matlabroot/bin matlabroot MATLAB


matlab.exe

Linux :

1-54

matlab [
]

matlabroot/bin/matlab matlabroot MATLAB


Mac OS X :

MATLAB

MATLAB MathWorks


MathWorks Web

MATLAB
MATLAB (
) My Documents\MATLAB (1-16 8:
)
MATLAB

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


MATLAB
MATLAB Notebook notebook -setup MATLAB
mex -setup

1-55

MATLAB
MATLAB MATLAB
MATLAB

MATLAB

MATLAB

[]

MATLAB [] [] [] > [

] HTML

MathWorks Web (www.mathworks.com)


[]

1-56

MathWorks

MathWorks
MathWorks

: 2

1-61

Windows
MathWorks ()
1

MATLAB

Windows 8
[ ] [] []
[MATLAB R2014b]

Windows 7 [] [
] [ ] [] [
] [MATLAB R2014b]

Windows XP [] [] > [
] > [] [MATLAB
R2014b] []

matlabroot/uninstall/bin/$ARCH matlabroot
MATLAB $ARCH win64
uninstall.exe

[] []

1-57

MATLAB MathWorks

MathWorks MATLAB
[OK]
[]
MATLAB [MATLAB ]

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

username MATLAB

1-58

MathWorks

() MATLAB


matlabroot/archives []

[]
[]
MATLAB

1-61

Linux
:

1-61

1-59

MATLAB

Linux
rm -rf matlabroot

matlabroot MATLAB

Mac OS X
: MATLAB

1-61

MATLAB

1-60

Mac OS X MATLAB

MATLAB MATLAB lmdown


MATLAB
MATLAB_R2014b.app

MATLAB [Finder] []

MathWorks

2
MathWorks
MathWorks

MathWorks Web

: 2

1-57 MathWorks

MATLAB [] > []

MATLAB matlabroot

Windows :
matlabroot\uninstall\bin\win64\deactivate_matlab.exe
1-61

Linux :
matlabroot/bin/deactivate_matlab.sh
Mac OS X :
/Applications/MATLAB_R2014b.app/bin/deactivate_matlab.sh

Windows 7 [] [MATLAB]

Windows XP [] [
] > [MATLAB] > [R2014b] > [MATLAB R2014b ]

[]

MATLAB

1-62

[]
[OK] [MathWorks
]

[]
MathWorks

[OK]
MathWorks
[]
[OK] [MathWorks ]

1-63

MathWorks
[]

MathWorks Web

[OK] [MathWorks
]

1-64

Deactivation string.

Click OK.

[MathWorks ]

[
] []

1-65

1-66

MathWorks Web (www.mathworks.com)

1-67

1-68

2-2

2-3

2-15

MATLAB

MATLAB

DVD

1-36

MathWorks

[]

2-2

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

2-15

MATLAB DVD
1-36

1:
1

MathWorks Web MATLAB DVD

2-3

Web

MathWorks
2

MathWorks Web DVD

Windows

MathWorks Web
[]


matlab_release_$ARCH release (R2014b
)$ARCH

setup.exe

2-4

DVD DVD DVD

Mac OS X

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

2-5

[] [
] MathWorks

2-6

: Windows

3:
[] []

4: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks ]
[]

2-7

5:[]
[]
MathWorks

2-8

6:
MathWorks []

MathWorks

[ ]

[]
" "

MathWorks

2-9

MathWorks Web
MATLAB
MathWorks Web

7:
MathWorks
[]

[]
[]

2-10

8:



: DVD
MathWorks Web

2-11

[]

9:

[] [
]

2-12

10:

MATLAB []

[MATLAB
] []

MATLAB

2-13

2-14

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

MathWorks

1:
1

MathWorks Web
Web

2-15

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

[]
[] MathWorks

2-17

: Windows

3:
[] []

4: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks ]
[]

2-18

5:[]
[]
MathWorks Web

2-19

6:
1

MathWorks
[]

2-20

7:

[
]
[]

2-21

8:

2-22

[]

[]

9:

[]

2-23

DVD

2-24

1-4
MathWorks

(FIK)
1-36


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

3-2

3-4

3-8

3-9

3-23 MathWorks

3-41

3-42

3-43 MathWorks

3-63

3-70 ( )

3-72


...
3-2
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-2010 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-2010 1 \
1CD148466EF58DF8B USER_BASED DUP_GROUP=U SN=12345
INCREMENT Signal_Toolbox MLM 18 01-sep-2010 1 \
6CF74B458BA143DC3 USER_BASED DUP_GROUP=U SN=12345
# END---------cut here-------CUT HERE-------END


MATLAB
MATLAB
MATLAB

3-2

MATLAB -c
-c
-c

MATLAB MATLAB
2 MATLAB
MLM_LICENSE_FILE

MLM_LICENSE_FILE

MathWorks
(MathWorks
)

LM_LICENSE_FILE

FlexNet

MATLAB



MATLAB MATLAB \licenses license.dat
.lic

3-3


MathWorks
MathWorks
MATLAB


MATLAB MATLAB


MathWorks
MathWorks

:
MathWorks Web

ID


MathWorks Flexera Software, Inc FlexNet
Publisher
MathWorks
MathWorks
MathWorks
MathWorks

MATLAB

3-4


" " MATLAB
( " "
) MATLAB
MATLAB

Server
MATLAB
FLEXnet

Client

Client

Client

Windows
Linux
Windows
MATLAB
MATLAB


" "
MATLAB
MATLAB MATLAB

3-5

Server

FLEXnet

Client
MATLAB

Client

MATLAB

Client

MATLAB

MathWorks

-
FlexNet

"
"

MathWorks - MathWorks


MathWorks

MathWorks -
MathWorks


3-43 MathWorks

3-6

3-70 ( )

3-7

MATLAB
MathWorks

3-9

MathWorks 3-9

DVD

MathWorks 3-23 MathWorks


MathWorks

3-8

3-41

MATLAB

: R2013b
R2013b R2013b
R2013b MATLAB

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

MathWorks Web

[Activation and Installation ()] [Activate (


)]

3-9

3-10


ID
[Continue ()]


[Continue ()]


3-63

MathWorks Web
DVD

MathWorks
MathWorks DVD
DVD MathWorks

Windows

Linux MATLAB

matlab

Mac OS X
Mac OS X
MathWorks
[Authenticate]

1 MathWorks
3-43
MathWorks

1:
1

MathWorks Web MATLAB DVD

Web

MathWorks

MathWorks Web DVD

Windows

MathWorks Web
[]

3-11

matlab_release_$ARCH release (R2014b


)$ARCH

setup.exe

DVD DVD DVD

Mac OS X

MathWorks Web

InstallForMacOSX.app

DVD DVD DVD


DVD DVD
InstallForMacOSX

Linux

unzip MathWorks Web




./install

DVD DVD DVD

/path_to_dvd/install &

DVD
DVD

3-12

mount -o exec

/media/cdrom0

2:[ ]
[ ] []

3:
[] []

3-13

4:
[ ]
[]

3-14

5:

[]

[]

3-15

6:


MathWorks

: MathWorks
DVD

[] []

3-16

7:
MathWorks Web
[]

3-17

license.dat MATLAB
\etc

SERVER DAEMON SERVER


DAEMON

matlabroot/etc matlabroot
MATLAB

8:

Windows

Windows []

3-18

[]

:
[ (
)]

Mac OS X

[]

3-19

9:

[] []

3-20

10:
[]

MATLAB

3-21

3-22

MathWorks

MathWorks

...
3-23
3-25 1:
3-27 2:[MathWorks ]
3-28 3:
3-29 4: MathWorks
3-30 5:
3-31 6:
3-32 7:
3-33 8:
3-34 9:
3-35 10:
3-37 11:
3-39 12:
MATLAB

: R2013b
R2013b R2013b
R2013b MATLAB

MathWorks Web

3-23

[Activation and Installation ()] [Activate (


)]


ID
[Continue ()]


[Continue ()]

3-63

MathWorks

MathWorks
" "

MathWorks

3-24

Windows

Linux MATLAB

matlab

Mac OS X
Mac OS X
MathWorks
[Authenticate]

MathWorks

1 MathWorks
3-43
MathWorks

1:
1

MathWorks Web MATLAB DVD

Web

MathWorks

MathWorks Web DVD

Windows

MathWorks Web
[]

3-25

matlab_release_$ARCH release (R2014b


)$ARCH

setup.exe

DVD DVD DVD

Mac OS X

MathWorks Web

InstallForMacOSX.app

DVD DVD DVD


DVD DVD
InstallForMacOSX

Linux

unzip MathWorks Web




./install

DVD DVD DVD

/path_to_dvd/install &

DVD
DVD

3-26

MathWorks

mount -o exec

/media/cdrom0

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

[] [
] MathWorks

3-27

: Windows

3:
[] []

3-28

MathWorks

4: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks ]
[]

3-29

5:
[] () []

3-30

MathWorks

6:
MathWorks
[]

()

MathWorks
[ ]
[] " "

3-31

7:
MathWorks
[]

[]
[]

3-32

MathWorks

8:


MathWorks

[] []

3-33

9:
MathWorks Web
[]

3-34

MathWorks

license.dat MATLAB
\etc

SERVER DAEMON SERVER ()


DAEMON

10:

Windows

Windows []
[]

3-35

:
[ (
)]

Mac OS X

[]

3-36

MathWorks

11:

[] []

3-37

[]

3-38

MathWorks

12:
[]

MATLAB

3-39

3-40


MathWorks

lmgrd

MLM MathWorks

MathWorks Web License Manager Download (


) zip

3-63

zip
matlabroot\etc\$ARCH matlabroot
MATLAB $ARCH

3-41

MathWorks



SERVER
3-35

:
SERVER
MathWorks

-
MathWorks DVD


MathWorks

MathWorks

- 3-43
MathWorks

3-70
( )

3-42

MathWorks

MathWorks

...
3-43
3-45 1:
3-47 2:
3-48 3:
3-49 4:
3-50 5: MathWorks
3-53 6:
3-54 7:
3-55 8:
3-56 9:
3-57 10:
3-59 11:
3-61 12:

DVD

MATLAB

DVD


MATLAB DVD
MathWorks

3-43

MathWorks
MathWorks

MathWorks



MathWorks

3-44


SERVER

Windows

Linux MATLAB

matlab

Mac OS X
Mac OS X
MathWorks
[Authenticate]

MathWorks

MATLAB


MATLAB
MATLAB

1:
:

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

MathWorks Web
DVD

Windows

setup.exe

setup.exe

3-45

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

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

3:
[] []

3-48

MathWorks

4:
MathWorks
5
DVD [
] []

3-49

5: MathWorks
MathWorks []
MathWorks

MathWorks [MathWorks ]
[]

3-50

MathWorks

MathWorks


MathWorks Web MATLAB

:
[]

3-51

: MathWorks
[] []
MathWorks
[]

3-52

MathWorks

6:
:

MathWorks []

()

3-53

[
]

7:
MathWorks
[]

[]
[]

3-54

MathWorks

8:

:
[] []

3-55

9:

[]

3-56

MathWorks

network.lic MATLAB
\licenses

SERVER INCREMENT DAEMON


USE_SERVER

10:

Windows
Windows [ ] []
MATLAB

3-57

[]

Linux
Linux matlab mex
/
usr/local/bin
[]

3-58

MathWorks

11:

[] [
]

3-59

[]

3-60

MathWorks

12:
MathWorks []

3-61

3-62


...
3-63
3-64 Linux
3-65 Mac OS X

3-66


MATLAB
Windows Mac OS X
(Linux
3-64 Linux
)

3-63 Windows

3-64 Linux Mac OS X

Windows
Windows

Windows [
]

3-63

Windows [] [] > [ ] > [] > [


]

lmtools.exe MATLAB
matlabroot\etc\$ARCH ($ARCH
) 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_R2013b.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-64

Mac OS X

/Library

StartupItems

matlabroot/etc/MATLABLmgr StartupItems

/etc/MATLABlmgr config_lm.sh
(/Applications/Utilities )

cd /Library/StartupItems/MATLABLmgr
./config_lm.sh

MathWorks
MathWorks /Applications/MATLAB_R2014b

/Applications/MATLAB_R2014b

whoami

"Starting MATLAB License Manager"




MATLABLmgr
1

[Finder] [] []

[]
/Library/StartupItems/MATLABLmgr
[]
MATLABLmgr StartupParameters.plist
StartupParameters_disabled.plist

3-65

1 3
StartupParameters_disabled.plist StartupParameters.plist
Mac OS X
1

[Finder] [] []

[]
/Library/StartupItems/MATLABLmgr
[]
MATLABLmgr MATLABLmgr [Finder] [
]


FlexNet

MATLAB PDF (matlabroot\etc


\LicenseAdministration.pdf)

3-66 LMTOOLS (Windows )

3-67

LMTOOLS (Windows )
Windows FlexNet Publisher LMTOOLS
LMTOOLS

LMTOOLS

3-66

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

[Server Status]

[Perform Status Enquiry] LMTOOLS lmutil lmstat


-a


FlexNet

Windows FlexNet lmutil.exe


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

-a -c
lmutil

3-67

lmutil - Copyright (c) 1989-2010 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\R2013b\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-2010 Flexera Software Inc. All Rights Reserved.
Flexible License Manager status on Tue 11/5/2013 10:11
License server status: 27000@ah-jcustomer
License File(s) on customerj: /user/local/MATLAB/R2013b/etc/license.dat:
customerj: license server UP (MASTER) v.11.9
Vendor daemon status (on customerj):
MLM: UP v11.9

3-68

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

3-69

( )
...
3-70
3-70

: MATLAB () 3-72

MATLAB
MathWorks


(
)


installer_input.txt
MathWorks DVD
( C:\Users
\user\AppData\Local\Temp\mathworks_downloads)
Windows
copy Z:\installer_input.txt C:\temp\my_installer_input.txt

3-70

( )

destinationFolder=

destinationFolder=C:\Program Files\MATLAB\R2013b


fileInstallationKey=

-inputFile

Windows [] []
[]

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

Linux Mac OS X

3-71

: MATLAB 3-70
( )


MATLAB uninstall uninstaller_input.txt

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


outputFile=

MATLAB

mode=automated
[]

-inputFile
(uninstall.exe)
[] [] []
uninstall

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

3-72

MathWorks

4-2

4-5

MathWorks MATLAB

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

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

MathWorks DVD DVD MathWorks Web



Microsoft Windows DVD
setup.exe

[] []

[OK]
[]




MathWorks


[]
[]

4-2

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

Click OK.

MathWorks
MathWorks MathWorks

MathWorks
1


MathWorks

MathWorks DVD DVD

[] [
]

4-3

[]
[MATLAB ] []

[MathWorks ]

[]

[] [] [
] [OK]

Select this option to activate


without an account.

Click OK.

[MathWorks ] []

[] []

: [
]

4-4

[]

MATLAB


MATLAB MathWorks
FLEXnet

matlabroot\etc\$ARCH FlexNet lmlog.txt

3-66

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


support/install)

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



27000

4-5


DAEMON port= <>

4-6

You might also like