You are on page 1of 124

MATLAB & Simulink

R2014a
MathWorks

www. mat hwor ks. co. j p Web


comp. sof t -sys. mat l ab Newsgroup
www. mat hwor ks. co. j p/cont act _ TS. ht ml
suppor t @mat hwor ks. com ()
suppor t @mat hwor ks. com ()
doc@mat hwor ks. com
()
ser vi ce@mat hwor ks. co. j p
ser vi ce@mat hwor ks. co. j p

TEL: 03-6367-6700 ()

FAX: 03-6367-6710

The MathWorks GK
107-0052 415-1

MathWorks Web

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 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. mat hwor ks. com/t r ademar ks
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. mat hwor ks. com/pat ent s
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)


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

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

MATLAB & Simulink Student Version . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5


Student Version . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5

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

. . . . . . . . . . . . . . . . . . . . . . . . 1-18

MathWorks
................................................... 1-19
1: . . . . . . . . . . 1-19
2:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20
3: MathWorks . . . . . . . . . . . . . . . . 1-21
4: . . . . . . . . . . . . . . . 1-23
5: . . . . . . . . . . . . . . . . . . . 1-24
6: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24
7: . . . . . . . . . . . . . . . . . . . . 1-25
8: . . . . . . . . . . . . . . . . . . . . . . . . 1-25

v
. . . . . . 1-26
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26
1: . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28
2: . . . . 1-29
3: . . . . . . . . . . . . . . . . . . . . . . . . . 1-29
4: . . . . . . . . . . . . . . . . . 1-30
6: . . . . . . . . . . . . . . . . . . . . 1-31
7: . . . . . . . . . . . . . . . . . . . . . . . 1-31
8: . . . . . . . . . . . . . . . . . . . . . 1-31
9: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-32
10: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-32

. . . . 1-33
1: . . . . . . . . . . . . . . . . . . . . . . . . 1-33
2: . . . . . . . . . . . . . . . . . . 1-33
3: . . . . . . . . . . . . . . . . . . . . . . . . 1-34

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-35
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-35
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-36
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . 1-36
MATLAB . . . . . . . . . . . . . . . . . . . . . . . . . . 1-36
MATLAB . . . . . . . . . . . . . . . . . . 1-37

MathWorks . . . . . . . . . . . . . . . . . . . . . . . . . 1-38
Windows . . . . . . . . . . . . . . . . . . . . . . . 1-38
Linux . . . . . . . . . . . . . . . . 1-40
Mac OS X . . . . . . . . . . . . 1-41

. . . . . . . . . . . . . . . . . . . . . 1-42

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-46


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

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

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

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14


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

. . . . . . . . . . 3-9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
1: . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
2: . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3: . . . . . . . . . . . . . . 3-14

vii
4:MathWorks . . . . . . . . . . . . . . . . . 3-14
5: . . . . . . . . . . . . . . . . . 3-15
7: . . . . . . . . . . . . . . . . . . . . 3-16
8:
................................................ 3-16
9: . . . . . . . . . . . . . . . . . 3-18
10: . . . . . . . . . . . . . . . . . . 3-18
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
12: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20

. . . . . . . . . . . . . . . . 3-21

MathWorks
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
1: . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24
2: . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
3: . . . . . . . . . . . . . . 3-27
4: MathWorks . . . . . . . . . . . . . . . . 3-27
5: . . . . . . . . . . . . . . . . . 3-28
6: . . . . . . . . . . . . . . . . . . . . 3-29
7: . . . . . . . . . . . . . . . . . . . . . . 3-29
8: . . . . . . . . . . . . . . . . . . 3-31
9: . . . . . . . . . . . . . . . . . . . . . 3-31
10: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33

. . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
. . . . . . . . . . . . . . . . . . . . . . . . . . 3-34
Linux . . . . . . . . . . . . . . . . . . 3-35
Mac OS X
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
. . . . . . . . . . . . . . . . . . . . . . . . . . 3-39

( ) . . . . . . . . . . 3-44
. . . . . . . . . . . . . . . 3-44
. . . . . . . . . . . . . . . . . . 3-44

......................... 3-46

viii

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

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

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

ix
x
1

MathWorks

(p. 1-2)
(p. 1-3)
MATLAB & Simulink Student Version (p. 1-5)
MathWorks (p. 1-6)
(p. 1-18)
MathWorks (p. 1-19)
(p. 1-26)
(p. 1-33)
(p. 1-35)
MathWorks (p. 1-38)
(p. 1-42)
(p. 1-46)
1


MathWorks
MathWorks

Microsoft Windows (32 64 )


Linux (64 )
Mac OS X

MathWorks (p. 1-6)


MathWorks (p. 1-19)
(p. 1-26)
(p. 1-35)
MathWorks (p. 1-38)
(p. 1-42)
(p. 1-46)

1-2


DVD DVD
MATLAB

DVD mathworks.com
MATLAB

1-3
1










MATLAB



FlexNet

1-4
MATLAB & Simulink Student Version

MATLAB & Simulink Student Version


MATLAB & Simulink Student Version

Student Version
MATLAB Simulink
Student Version
MathWorks

Student Version MATLAB and Simulink


Student Version

Student Version
Student Version
MathWorks





MathWorks
ht t p: //www. mat hwor ks. co. j p/academi a/st udent _ ver si on/





www. mat hwor ks. co. j p/j st udent

1-5
1

MathWorks
In this section...
(p. 1-6)
1: (p. 1-7)
2:MathWorks (p. 1-9)
3: (p. 1-11)
4: MathWorks (p. 1-12)
5: (p. 1-13)
6: (p. 1-14)
7: (p. 1-15)
8: (p. 1-16)
9: (p. 1-17)
10: (p. 1-17)

MathWorks



MathWorks
" "


MATLAB & Simulink Student Version
MathWorks Web


1-6
MathWorks

:



MATLAB

- Windows

- Linux MATLAB

- Mac OS X
Mac OS X
MathWorks
[Authenticate]


(p. 1-26)

1:

: MathWorks & Simulink Student Version DVD


MathWorks Web

1 MathWorks Web
MathWorks DVD

Web

1-7
1


MathWorks

2
MathWorks Web
DVD
Windows
MathWorks Web
[]



set up. exe

DVD DVD DVD

Mac OS X
MathWorks Web


I nst al l For MacOSX. app
DVD DVD DVD
DVD
DVD I nst al l For MacOSX

Linux
unzi p
MathWorks Web

. /i nst al l

1-8
MathWorks

DVD DVD DVD


/pat h_ t o_ dvd/i nst al l &

DVD

DVD

mount -o exec /medi a/cdr om0

2:MathWorks
[MathWorks ] ()
[] MathWorks

1-9
1

[]
[]
MathWorks

: Windows

1-10
MathWorks

3:
[] [
]

1-11
1

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

MathWorks



MathWorks Web
MATLAB & Simulink Student Version

[]

: MathWorks
[]
[]
MathWorks
[]

1-12
MathWorks

5:
MathWorks
[]


()

[Unset]

MathWorks

1 [ ]

2 []

" "

MathWorks
MathWorks Web
Student Version
MathWorks
Web

[ ]
[]

1-13
1

MATLAB & Simulink Student Version


MathWorks Web

6:
MathWorks
[]


[
] []

1-14
MathWorks

7:

:
DVD MathWorks Web

1-15
1

[]

8:

Windows
Windows [ ] []
MATLAB

[]

Linux
Linux mat l ab mex

/usr /l ocal /bi n

[]

1-16
MathWorks

9:

[]
[]

[]

10:

MathWorks
[]

[MATLAB ] []

MathWorks
(p. 1-19)

1-17
1

: Student Version

MATLAB


MATLAB

:


10
9 MATLAB
9

1-18
MathWorks

MathWorks
In this section...
1: (p. 1-19)
2: (p. 1-20)
3: MathWorks (p. 1-21)
4: (p. 1-23)
5: (p. 1-24)
6: (p. 1-24)
7: (p. 1-25)
8: (p. 1-25)

1:

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

Windows mat l abr oot /bi n/$ARCH act i vat e_ mat l ab. exe
mat l abr oot MATLAB
$ARCH (mat l abr oot \bi n\wi n64
)
Linux Mac OS X mat l abr oot /bi n act i vat e_ mat l ab. sh

1-19
1

Mac OS X MATLAB
MATLAB
( Ctrl
) []

2:

"" MathWorks



MathWorks
[
]

1-20
MathWorks

MathWorks

[
]
MathWorks

[
]

: Windows

[]
[]

MathWorks

3: MathWorks

MathWorks []
MATLAB

MathWorks [MathWorks ]
[]

1-21
1

[
] []



[]

MathWorks



MATLAB Web
MATLAB & Simulink Student Version
MathWorks
Web

[]

: MathWorks
[]
[]
MATLAB
[]

1-22
MathWorks

4:

MathWorks
[]


()

[Unset]

MathWorks
[
] [
] " "

MATLAB & Simulink Student Version


MathWorks Web

1-23
1

5:

:
Student Version


[ ]
[
]

[]

6:

: []



[
]
MathWorks

ID
MathWorks


[
] []

1-24
MathWorks

[
]
[]
MathWorks

: Student Version

7:
[]

MathWorks
( [ ]
)

MathWorks
MathWorks

8:
[]

1-25
1


In this section...
(p. 1-26)
1: (p. 1-28)
2: (p. 1-29)
3: (p. 1-29)
4: (p. 1-30)
6: (p. 1-31)
7: (p. 1-31)
8: (p. 1-31)
9: (p. 1-32)
10: (p. 1-32)






MathWorks Web

DVD

MathWorks & Simulink Student Version DVD
MathWorks

1-26

:



MATLAB

- Windows


- Linux MATLAB

mat l ab



- Mac OS X
Mac OS X
MathWorks
[Authenticate]

MathWorks
(p. 1-6)MathWorks

1-27
1

1:

: MathWorks & Simulink Student Version DVD


MathWorks

1 MathWorks Web
MathWorks DVD

Web


MathWorks

2
MathWorks Web
DVD
Windows
MathWorks Web
[]



set up. exe

DVD DVD DVD

Mac OS X
MathWorks Web


I nst al l For MacOSX. app
DVD DVD DVD
DVD

1-28

DVD I nst al l For MacOSX


Linux
unzi p
MathWorks Web

. /i nst al l

DVD DVD DVD


/pat h_ t o_ dvd/i nst al l &

DVD

DVD

mount -o exec /medi a/cdr om0

2:
DVD
[ ] [
]

3:
[] [
]

1-29
1

4:
[
]

[
] []
MathWorks
Web

[ ]
[]


[]
MathWorks Web

ID
(: R2014a)
(
)

1 []
Windows Linux []/[Print]

2 MathWorks Web

1-30

3
MathWorks

6:
MathWorks
[]

[
] []

7:
[]

[]

8:

1-31
1

Windows
Windows [ ] []
MATLAB

[]

Linux
Linux mat l ab mex

/usr /l ocal /bi n

[]

9:

[]
[]

10:
[]


MathWorks
[]

[MATLAB
] []

1-32

In this section...
1: (p. 1-33)
2: (p. 1-33)
3: (p. 1-34)

1:
MathWorks

[
] []

2:


MathWorks Web
[]

[]

[ ]
[]



[ ]

1-33
1

ID
(: R2014a)
(
)

[]

MathWorks Web
MathWorks


[]

:
MATLAB

3:
[]

1-34

In this section...
MATLAB (p. 1-35)
(p. 1-36)
MATLAB (p. 1-36)
MATLAB (p. 1-36)
MATLAB (p. 1-37)

MATLAB
MATLAB

Windows :
- Windows 8 Windows
[MATLAB R2014a]

- Windows 7 Windows []
[MATLAB R2014a]
- Windows XP Windows []
[] [MATLAB] [R2014a]
[MATLAB R2014a]
-
MATLAB

- mat l abr oot /bi n mat l abr oot MATLAB


mat l ab. exe

1-35
1

Linux :
- mat l ab [
]
mat l abr oot /bi n/mat l ab
mat l abr oot MATLAB
Mac OS X :
- MATLAB


MATLAB MathWorks



MathWorks Web

MATLAB
MATLAB
() My Document s\MATLAB ( 8:
(p. 1-16)
)MATLAB

MATLAB
MATLAB mat l abr oot \t ool box\l ocal
st ar t up. m
st ar t up. m
MATLAB MATLAB l ocal
st ar t upsav. m

1-36

MATLAB
MATLAB Notebook not ebook -set up MATLAB
mex -set up

MATLAB
MATLAB MATLAB
MATLAB


MATLAB MATLAB


[]


MATLAB [] [] [
] []
HTML

MathWorks Web (www. mat hwor ks. com)
[]

1-37
1

MathWorks
MathWorks

: 2


(p. 1-42)

Windows
MathWorks ()

1 MATLAB

Windows 8
[ ] [] [
]
[MATLAB R2014a]
Windows 7 [] [
] [ ] []
[]
[MATLAB R2014a]
Windows XP [] [
] [ ] []
[MATLAB R2014a] []
mat l abr oot /uni nst al l /bi n/$ARCH mat l abr oot
MATLAB $ARCH wi n64

uni nst al l . exe

1-38
MathWorks

3 [] [
]

MATLAB MathWorks


MathWorks
MATLAB
[OK]
[]

MATLAB [MATLAB
]
MATLAB
MATLAB
MATLAB
pr ef di r

1-39
1

pr ef di r
ans =
C: \WI NNT\Pr of i l es\user name\Appl i cat i on Dat a\Mat hWor ks\MATLAB\R2014a

user name MATLAB

4 ()
MATLAB

mat l abr oot /ar chi ves
[]

5 []

[] MATLAB


(p. 1-42)

Linux

:



(p. 1-42)

1 MATLAB

2 Linux

r m -r f mat l abr oot

mat l abr oot MATLAB


1-40
MathWorks

Mac OS X

: MATLAB

(p. 1-42)

MATLAB

1 Mac OS X
MATLAB

2 MATLAB MATLAB l mdown


3 MATLAB
MATLAB_ R2014a. app

4 MATLAB [Finder] [
]

1-41
1


MathWorks



1

2
MathWorks

MathWorks



MathWorks Web


: 2

MathWorks
(p. 1-38)

1-42

MATLAB [] []

MATLAB mat l abr oot

Windows :
mat l abr oot \uni nst al l \bi n\wi n64\deact i vat e_ mat l ab. exe
Linux :
mat l abr oot /bi n/deact i vat e_ mat l ab. sh
Mac OS X :
/Appl i cat i ons/MATLAB_ R2014a. app/bi n/deact i vat e_ mat l ab. sh
Windows 7 []
[MATLAB]

Windows XP [] [
] [MATLAB] [R2014a] [MATLAB R2014a
]

2 []


MATLAB

[]
[OK]
[MathWorks ]

3 []
MathWorks

1-43
1

4 [OK]

MathWorks
[
] [OK] [MathWorks
]

1-44


MathWorks
[]


MathWorks Web

[OK] [MathWorks
]

5 [MathWorks
]

[] [
]

1-45
1


MathWorks Web (www. mat hwor ks. com)

1-46
2

(p. 2-2)
(p. 2-3)
(p. 2-10)
2

MATLAB

MATLAB

-
- 1

1 MathWorks

2 []

2-2

In this section...
(p. 2-3)
1: (p. 2-3)
2: (p. 2-5)
3: (p. 2-6)
4: MathWorks (p. 2-6)
5:[] (p. 2-6)
6: (p. 2-7)
7: (p. 2-7)
8: (p. 2-8)
9: (p. 2-9)
10: (p. 2-9)
(p. 2-9)

1:
1 MathWorks Web
MathWorks DVD

Web


MathWorks

2-3
2

2
MathWorks Web
DVD
Windows
MathWorks Web
[]



set up. exe

DVD DVD DVD

Mac OS X
MathWorks Web


I nst al l For MacOSX. app
DVD DVD DVD
DVD
DVD I nst al l For MacOSX

Linux
unzi p
MathWorks Web

. /i nst al l

DVD DVD DVD


/pat h_ t o_ dvd/i nst al l &

2-4

DVD

DVD

mount -o exec /medi a/cdr om0

2:
[MathWorks ] ()
[] MathWorks

2-5
2

[]
[]
MathWorks

: Windows

3:
[] [
]

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

5:[]
[]

MathWorks

2-6

6:
MathWorks
[]


()

[Unset]

MathWorks

1 [ ]

2 []

" "

MathWorks
MathWorks Web
Student Version
MathWorks
Web

7:
MathWorks
[]

[
] []

2-7
2

8:



:
DVD MathWorks Web

2-8

[]

9:

[]
[]

10:

MathWorks
[]

[MATLAB ] []

2-9
2


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


MathWorks

1:
1 MathWorks Web

Web

WindowsLinux Mac OS X
MathWorks

2-10

2

Windows MathWorks Web []



set up. exe

Mac OS X MathWorks Web

I nst al l For MacOSX. app
Linux unzi p MathWorks Web

. /i nst al l

: DVD
DVD MathWorks Web

2:
[MathWorks ] ()
[] MathWorks

2-11
2

[]
[]
MathWorks

: Windows

3:
[] [
]

4:MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

5: []
[]

MathWorks Web

2-12

6:
1 MathWorks

[]

2 1

7:

[]

8:

[]
[]

2-13
2

9:

[]



(FIK)

2-14
3

[] [ ]
MathWorks

Microsoft Windows (32 64 )


Linux (64 )
Mac OS X

(p. 3-2)
(p. 3-9)
(p. 3-21)
MathWorks
(p. 3-22)
(p. 3-34)
( ) (p. 3-44)
(p. 3-46)
3


In this section...
(p. 3-3)
(p. 3-6)

MathWorks

MathWorks MATLAB


1
MATLAB
MATLAB

2

MathWorks MathWorks

:

MathWorks
ID

3-2

MathWorks Flexera Software, Inc


FlexNet Publisher

MathWorks
MathWorks
MathWorks MathWorks

MATLAB

3-3
3


" " MATLAB
( "
" )
MATLAB
MATLAB

Windows
Linux
Windows


MATLAB MATLAB

3-4


" "
MATLAB
MATLAB MATLAB

MathWorks

-
FlexNet



FlexNet


(p. 3-9)
MathWorks -
MathWorks


MathWorks

MathWorks -
MathWorks

3-5
3


MathWorks (p. 3-22)




(
) (p. 3-44)

:

MathWorks Web


ASCII



I NCREMENT

( I NCREMENT
) (\)

(#) MathWorks
(
ID )

3-6

# BEGI N-------cut her e-------CUT HERE-------BEGI N


# MATLAB l i cense passcode f i l e.
# Li censeNo: 12345 Host I D: I NTERNET=144. 212. 101. 43
I NCREMENT TMW_ Ar chi ve MLM 18 01-sep-2010 0 \
BC9DE773A77D15AF8 VENDOR_ STRI NG=83 HOSTI D=DEMO SN=12345
I NCREMENT MATLAB MLM 18 01-sep-2010 1 \
4C9D3348561BE9E3B USER_ BASED DUP_ GROUP=U SN=12345
I NCREMENT SI MULI NK MLM 18 01-sep-2010 1 \
1CD148466EF58DF8B USER_ BASED DUP_ GROUP=U SN=12345
I NCREMENT Si gnal _ Tool box MLM 18 01-sep-2010 1 \
6CF74B458BA143DC3 USER_ BASED DUP_ GROUP=U SN=12345
# END---------cut her e-------CUT HERE-------END


MATLAB
MATLAB
MATLAB

1 MATLAB -c
-c
-c




2 MATLAB MATLAB
2 MATLAB
MLM_ LI CENSE_ FI LE

3-7
3


MLM_ LI CENSE_ FI LE
MathWorks (MathWorks
)
LM_ LI CENSE_ FI LE FlexNet

3
MATLAB


4
MATLAB MATLAB \l i censes
l i cense. dat . l i c

3-8


In this section...
(p. 3-10)
1: (p. 3-12)
2: (p. 3-13)
3: (p. 3-14)
4:MathWorks (p. 3-14)
5: (p. 3-15)
7: (p. 3-16)
8: (p. 3-16)
9: (p. 3-18)
10: (p. 3-18)
11: (p. 3-19)
12: (p. 3-20)

MATLAB

MATLAB

: R2013b
R2013b R2013b

R2013b MATLAB

3-9
3

MathWorks



MathWorks
" "


MathWorks


MathWorks Web

ID MathWorks




(p. 3-34)

:



MATLAB

- Windows

3-10

- Linux MATLAB

mat l ab



- Mac OS X
Mac OS X
MathWorks
[Authenticate]

1 MathWorks

MathWorks (p. 3-22)

MATLAB


MATLAB
MATLAB

:


2

3-11
3

1:
1 MathWorks Web
MathWorks DVD

Web


MathWorks

2
MathWorks Web
DVD
Windows
MathWorks Web
[]



set up. exe

DVD DVD DVD

Mac OS X
MathWorks Web


I nst al l For MacOSX. app
DVD DVD DVD
DVD
DVD I nst al l For MacOSX

Linux

3-12

unzi p
MathWorks Web

. /i nst al l

DVD DVD DVD


/pat h_ t o_ dvd/i nst al l &

DVD

DVD

mount -o exec /medi a/cdr om0

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

[
] []

3-13
3

: Windows

[]
[]



(p. 1-26)

3:
[] [
]

4:MathWorks

MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

3-14

MathWorks


MathWorks Web
MATLAB & Simulink Student Version

[]

: MathWorks
[]
[]
MathWorks
[]

5:
MathWorks
[]


()

3-15
3



[Unset]

MathWorks
[ ]
[] "
"

7:
MathWorks
[]


[
] []

8:




MathWorks

3-16

[] []

3-17
3

9:

[]

MathWorks Web


MathWorks Web


l i cense. dat MATLAB


\et c
SERVER DAEMON SERVER (
) DAEMON

mat l abr oot /et c mat l abr oot
MATLAB

10:

Windows
MathWorks
Windows
[]
[]

3-18

:
[
]

Mac OS X

[]

11:

[]
[]

[]

3-19
3

12:
[]
[]


MATLAB

3-20

MathWorks

-

(p. 3-18)

:


MathWorks




-
MathWorks
DVD



MathWorks


MathWorks
-
MathWorks (p. 3-22)

3-21
3

MathWorks

In this section...
(p. 3-22)
1: (p. 3-24)
2: (p. 3-25)
3: (p. 3-27)
4: MathWorks (p. 3-27)
5: (p. 3-28)
6: (p. 3-29)
7: (p. 3-29)
8: (p. 3-31)
9: (p. 3-31)
10: (p. 3-32)
11: (p. 3-33)

MathWorks



MathWorks
" "


MathWorks

3-22
MathWorks








(p. 3-34)

:



MATLAB

- Windows


- Linux MATLAB

mat l ab



- Mac OS X
Mac OS X
MathWorks
[Authenticate]

3-23
3



( ) (p. 3-44)


MATLAB


MATLAB
MATLAB

1:
1 MathWorks Web
MathWorks DVD

Web


MathWorks

2
MathWorks Web
DVD
Windows
MathWorks Web
[]



set up. exe

3-24
MathWorks

DVD DVD DVD



Mac OS X
MathWorks Web


I nst al l For MacOSX. app
DVD DVD DVD
DVD
DVD I nst al l For MacOSX

Linux
unzi p
MathWorks Web

. /i nst al l

DVD DVD DVD


/pat h_ t o_ dvd/i nst al l &

DVD

DVD

mount -o exec /medi a/cdr om0

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

3-25
3

[
] []

3-26
MathWorks

: Windows

[]
[]


(p. 1-26)

3:
[] [
]

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

3-27
3

MathWorks



MathWorks Web
MATLAB & Simulink Student Version

[]

: MathWorks
[]
[]
MathWorks
[]

5:

3-28
MathWorks

MathWorks
[]


()
MathWorks Web


[Unset]

[
]

6:
MathWorks
[]

[
] []

7:
[]

3-29
3

[] []

3-30
MathWorks

8:

[]

SERVER DAEMON
l i cense. dat
mat l abr oot /et c
mat l abr oot MATLAB

net wor k. l i c
MATLAB \l i censes

SERVER I NCREMENT DAEMON
USE_ SERVER

9:

Windows
Windows [ ] []
MATLAB

[]

3-31
3

Linux
Linux mat l ab mex

/usr /l ocal /bi n

[]

10:

[]
[]

[]

3-32
MathWorks

11:
MathWorks []
[]

3-33
3


In this section...
(p. 3-34)
Linux (p. 3-35)
Mac OS X
(p. 3-37)
(p. 3-39)


(p. 3-34)


MATLAB
Windows Mac OS
X
(Linux
Linux
(p. 3-35))



Windows (p. 3-35)


Linux Mac OS X (p. 3-35)

3-34

Windows
Windows


Windows []
Windows [] [] [
] [] []
l mt ool s. exe
MATLAB mat l abr oot \et c\$ARCH ($ARCH
) l mt ool s. exe
[Start/Stop/Reread]

Linux Mac OS X
Linux Mac OS X
mat l abr oot /et c l mst ar t
mat l abr oot MATLAB l mst ar t

Mac OS X l mst ar t /Appl i cat i ons/Ut i l i t i es


Ter mi nal MATLAB
/et c

cd /Appl i cat i ons/MATLAB_ R2013b. app/et c

: l mst ar t

(l mgr d)
su
l mgr d

su user name -c "l mgr d -c l i cense_ f i l e -l /var /t mp/LM_ TMW. l og"

user name

Linux
Linux

3-35
3

MathWorks
Bourne mat l abr oot /et c/f l exnet . boot . l i nux

Bourne

1 r oot

2 ()

l n -s mat l abr oot /et c/l mboot /et c/l mboot _ TMW
l n -s mat l abr oot /et c/l mdown /et c/l mdown_ TMW



Debian cp mat l abr oot /et c/f l exnet . boot . l i nux /et c/i ni t . d/f l exnet
SUSE
Red Hat cp mat l abr oot /et c/f l exnet . boot . l i nux
Fedora Core /et c/r c. d/i ni t . d/f l exnet

4 f l exnet
l mboot _ TMW user name r oot

5 /et c/i ni t t ab

6 r c
64 Linux
r c<r unl evel >

3-36



Debian cd /et c/r c<r unl evel >. d;
l n -s . . /i ni t . d/f l exnet S90f l exnet
Red Hat cd /et c/r c. d/r c<r unl evel >. d;
Fedora Core l n -s . . /i ni t . d/f l exnet S90f l exnet
SUSE cd /et c/i ni t . d/r c<r unl evel >. d;
l n -s . . /f l exnet S90f l exnet

7

Linux

SUSE version 10 /et c/i ni t . d


. depend. st ar t

/et c/i ni t . d/. depend. st ar t

f l exnet : net wor k

6 S90f l exnet symlink S99f l exnet



How do I get the FLEXnet License Manager to start


automatically at boot time on Linux or Solaris?(Linux Solaris
FLEXnet )

Mac OS X

1 /Li br ar y

3-37
3

2 St ar t upI t ems

3 mat l abr oot /et c/MATLABLmgr St ar t upI t ems

4 /et c/MATLABl mgr conf i g_ l m. sh


(/Appl i cat i ons/Ut i l i t i es
)

cd /Li br ar y/St ar t upI t ems/MATLABLmgr


. /conf i g_ l m. sh

5 MathWorks
MathWorks /Appl i cat i ons/MATLAB_ R2014a

/Appl i cat i ons/MATLAB_ R2014a

6 whoami

"St ar t i ng MATLAB Li cense Manager "




MATLABLmgr

1 [Finder] [] []

2 []

/Li br ar y/St ar t upI t ems/MATLABLmgr

[] MATLABLmgr

3-38

3 St ar t upPar amet er s. pl i st St ar t upPar amet er s_ di sabl ed. pl i st


1 3
St ar t upPar amet er s_ di sabl ed. pl i st St ar t upPar amet er s. pl i st

Mac OS X

1 [Finder] [] []

2 []

/Li br ar y/St ar t upI t ems/MATLABLmgr

[] MATLABLmgr

3 MATLABLmgr [Finder] [
]


FlexNet

MATLAB PDF
(mat l abr oot \et c\Li censeAdmi ni st r at i on. pdf )

LMTOOLS (Windows ) (p. 3-39)


(p. 3-40)

LMTOOLS (Windows )
Windows FlexNet Publisher LMTOOLS
LMTOOLS

3-39
3

LMTOOLS

1 mat l abr oot \et c\$ARCH l mt ool s. exe


LMTOOLS mat l abr oot MATLAB
$ARCH wi n64

2 [Server Status]

3 [Perform Status Enquiry] LMTOOLS


l mut i l l mst at -a


FlexNet

Windows FlexNet l mut i l . exe



mat l abr oot \et c\$ARCH mat l abr oot
MATLAB $ARCH wi n64

DOS l mst at
l mut i l

l mut i l l mst at -a -c "C: \Pr ogr am Fi l es\MATLAB\R2014a\et c\l i cense. dat "

-a -c
l mut i l


l mut i l - Copyr i ght ( c) 1989-2010 Fl exer a Sof t war e I nc. Al l Ri ght s Reser ved.
Fl exi bl e Li cense Manager st at us on Tue 11/5/2014 10: 11

[ Det ect i ng l mgr d pr ocesses. . . ]

3-40

Li cense ser ver st at us: 27000@ah-j cust omer


Li cense Fi l e( s) on cust omer j : C: \Pr ogr am Fi l es\MATLAB\R2013b\et c\l i cense. dat :

cust omer j : l i cense ser ver UP ( MASTER) v. 11. 9

Vendor daemon st at us ( on ah-j cust omer ) :

MLM: UP v11. 9

Feat ur e usage i nf o:

User s of MATLAB: ( Tot al of 5 l i censes avai l abl e)

User s of SI MULI NK: ( Tot al of 5 l i censes avai l abl e)

User s of Cont r ol _ Tool box: ( Tot al of 5 l i censes avai l abl e)

User s of I dent i f i cat i on_ Tool box: ( Tot al of 5 l i censes avai l abl e) .

l mut i l

l mut i l -h

-h

l mut i l l mst at -h

Linux Mac OS X
mat l abr oot /et c
l mst at

l mst at -a

l mut i l - Copyr i ght ( c) 1989-2010 Fl exer a Sof t war e I nc. Al l Ri ght s Reser ved.
Fl exi bl e Li cense Manager st at us on Tue 11/5/2013 10: 11

Li cense ser ver st at us: 27000@ah-j cust omer

3-41
3

Li cense Fi l e( s) on cust omer j : /user /l ocal /MATLAB/R2013b/et c/l i cense. dat :

cust omer j : l i cense ser ver UP ( MASTER) v. 11. 9

Vendor daemon st at us ( on cust omer j ) :

MLM: UP v11. 9

Feat ur e usage i nf o:

User s of MATLAB: ( Tot al of 5 l i censes avai l abl e)

User s of SI MULI NK: ( Tot al of 5 l i censes avai l abl e)

-h

l mst at -h


l mdi ag
l mdown
(l mgr d )
l mhost i d ID
l mr er ead

: l mr er ead
FlexNet
I NCLUDE 15

l mst at

3-42


l mswi t chr
l mver

3-43
3

( )
In this section...
(p. 3-44)
(p. 3-44)

: MATLAB ()
(p. 3-46)

MATLAB

MathWorks


(
)

i nst al l er _ i nput . t xt
MathWorks DVD

( C: \User s\user \AppDat a\Local \Temp\mat hwor ks_ downl oads )

3-44
( )

Windows

copy Z: \i nst al l er _ i nput . t xt C: \t emp\my_ i nst al l er _ i nput . t xt

2

dest i nat i onFol der =

dest i nat i onFol der =C: \Pr ogr am Fi l es\MATLAB\R2013b


f i l eI nst al l at i onKey=

4 -i nput Fi l e

Windows [] [
] []

set up. exe -i nput Fi l e C: \t emp\my_ i nst al l er _ i nput . t xt

Linux Mac OS X

3-45
3

: MATLAB
( ) (p. 3-44)

MATLAB uni nst al l uni nst al l er _ i nput . t xt



Windows

copy mat l abr oot \uni nst al l \uni nst al l er _ i nput . t xt C: \t emp\my_ uni nst al l . t xt

2

out put Fi l e=

MATLAB




mode=aut omat ed []

3-46

4 -i nput Fi l e
(uni nst al l . exe)

[] []
[] uni nst al l

uni nst al l . exe -i nput Fi l e C: \t emp\my_ uni nst al l . t xt

3-47
3

3-48
4

MathWorks

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

MathWorks
MATLAB

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


In this section...
(p. 4-2)
(p. 4-2)
(p. 4-2)
MathWorks (p. 4-3)


MathWorks DVD DVD MathWorks Web

Microsoft Windows
DVD set up. exe


[] []


[OK]
[]




MathWorks

4-2

[]

[] (
MathWorks
(p. 4-3))

MathWorks
MathWorks MathWorks MathWorks

MathWorks

1
MathWorks

2 MathWorks DVD DVD


3 [] [
]

4 []
[MATLAB ]
[]

5 [MathWorks ]

[]

[] []
[]
[OK]

4-3
4

[MathWorks ]
[]

6 []
[]

: [
]

7 []

4-4

MATLAB


MATLAB
MathWorks FLEXnet

mat l abr oot \et c\$ARCH
FlexNet l ml og. t xt


(p. 3-39)

1 MathWorks Web
(www.mathworks.com/support/install)

2 [ ] []

3 [] [
]


mat l abr oot \et c\Li censeAdmi ni st r at i on. pdf PDF FlexNet
Publisher Licensing Toolkit

4-5
4



27000




DAEMON por t = <>

4-6

You might also like