Vous êtes sur la page 1sur 126

MATLAB Simulink 2010a

Windows

How to Contact The MathWorks


www.mathworks.com
comp.soft-sys.matlab
www.mathworks.com/contact_TS.html
suggest@mathworks.com
bugs@mathworks.com
doc@mathworks.com
service@mathworks.com
info@mathworks.com

Web
Newsgroup
Technical Support
Product enhancement suggestions
Bug reports
Documentation error reports
Order status, license renewals, passcodes
Sales, pricing, and general information

508-647-7000 (Phone)
508-647-7001 (Fax)
The MathWorks, Inc.
3 Apple Hill Drive
Natick, MA 01760-2098
For contact information about worldwide offices, see the MathWorks Web site.

Windows
COPYRIGHT 19962010 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.

Trademarks

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.
Patents

The MathWorks products are protected by one or more U.S. patents. Please see www.mathworks.com/patents
for more information.

Revision History

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

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

9
10
11
12
13
14

MATLAB 5.0 ( 8)
MATLAB 5.1 ( 9)
MATLAB 5.2 ( 10)
MATLAB 5.3 ( 11)
MATLAB 5.3.1 ( 11.1)
MATLAB 6.0 ( 12)
MATLAB 6.1 ( 12.1)
MATLAB 6.5 ( 13) Windows

MATLAB 7.0 ( 14)


MATLAB 7.0.1 ( 14SP1)
MATLAB 7.0.4 ( 14SP2)
MATLAB 7.1 ( 14SP3)
MATLAB 7.2 ( 2006a)
MATLAB 7.3 ( 2006b)
MATLAB 7.4 ( 2007a)
MATLAB 7.5 ( 2007b)
MATLAB 7.6 ( 2008a)
MATLAB 7.7 ( 2008b)
MATLAB 7.8 ( 2009a)
MATLAB 7.9 ( 2009b)
MATLAB 7.10 ( 2010a)

Contents

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

1-2
1-2
1-4
1-6
1-7
1-9
1-12
1-13

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

1-21
1-21

. . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . . .
2: . . . . . . . . . . . . . . . . . . . . . . . . .
3: . . . . . . . . . . . . . . . . . . . . . .
4: . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . .
7: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-33
1-33
1-34
1-35
1-36
1-38
1-39

1-14
1-16
1-18
1-19

1-21
1-24
1-26
1-28
1-29
1-30
1-31

1-40

8: (
) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9: . . . . . . .
10: . . . . . . . . . . . . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . .
13: . . . . . . . . . . . . . . . . . . . .

1-41
1-43
1-44
1-45
1-45
1-48

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

1-49
1-49
1-49
1-50
1-50
1-50

MATLAB . . . . . . . .
MathWorks . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . .

1-52
1-52
1-54
1-60

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-62
1-62
1-62

vi

Contents

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

2-2

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

2-3
2-3
2-4
2-6
2-7
2-9
2-11
2-11
2-12
2-14

10: . . . . . . . .
11: . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13: . . . . . . . . . . . . . . . . . . . . . . . . . .
14: . . . .

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

2-15
2-16
2-18
2-21
2-21

2-23
2-23
2-24
2-25
2-26
2-28
2-30
2-31
2-31
2-33
2-34
2-36
2-39

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

2-40
2-40
2-40
2-43

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

2-45
2-45
2-45

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

3-2
3-2
3-2
3-5

vii

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

viii

Contents

3-6
3-6

Microsoft Windows (32


64 ) MathWorks


2,

MathWorks (p.1-2)

(p.1-21)

(p.1-33)

(p.1-49)

MATLAB (p.1-52)

(p.1-62)

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

1:

MathWorks

MathWorks

LEU (
) MathWorks

1-2

MATLAB

MathWorks

(p.1-33)

2,

MATLAB

MATLAB

10
9 MATLAB
9

1-3

2:
DVD DVD MathWorks Web

[
] []
MathWorks

[]
[]
Select this option to install products (recommended).

Select this option if


you do not have an
Internet connection.

1-4

Click Next.

MathWorks

[]
[]
MathWorks NTLM

(p.1-33)

1-5

3:
[]
[]
license.txt

Select Yes.

1-6

Click Next.

MathWorks

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

[ ]

MathWorks Web

If you have an account, enter your
e-mail address and password.

If you need to create an


account, select this option.

Click Next.

If you have your License File,


specify the full path here.

1-7

MathWorks

MathWorks Web []

Enter your e-mail address, first name, and last name.

Enter Activation Key.

Click Next.

1-8

MathWorks

5:
MathWorks
[]


MathWorks Web


[Unset]

MathWorks
[ ]
[]

MathWorks

1-9

Select a license.

Select option and enter


Activation Key.

License labels and options


descriptions help identify licenses.

Click Next.

[ ]

[]

1-10

MathWorks

Enter activation key.

Click Next.

1-11

6:
[ ]
[]



[]


(
) []
Select Typical or Custom.

Click Next.

1-12

MathWorks

7:
MathWorks

(@) (!) (%)


(+) ($)
private

[]
[]
Specify name of installation folder.

Click Next.

1-13

8: (
)
[]



[]
[]

Select the products you want to install.

Click Next.

MathWorks Web

1-14

MathWorks

[] [
] DVD

[]


[ ]

[
]
[]

Choose to install product from DVD


or download version from Web.

Select latest version


of all products.

Provides information about


the size of the download.

Click Next.

Clear selection
of all product
downloads.

Total download
size.

1-15

9: (
)

[] MATLAB

MATLAB
.m MATLAB
MATLAB M-file

[]

Click Next.

1-16

MathWorks

.ctfx

MATLAB

.fig

MATLAB Figure

.m

MATLAB

.mat

MATLAB

.mdl

Simulink

.mdlp

Simulink

.mex*

MATLAB MEX
.mexw32 .mexw64

.mn

MuPAD

.mu

MuPAD

.muphlp

MuPAD

.p

MATLAB P

.ssc

Simscape

.xvc

MuPAD

.xvz

MuPAD

1-17

10:

[]
[]

Click Install.

1-18

MathWorks

DVD


MathWorks Web

[]

Click Next.

11:
[]

MathWorks
MathWorks
[
]

1-19

[MATLAB
] [] (
)

To activate your software, leave this selected.

Click Next to proceed to


activation. If you cleared the
check box, button label
changes to Finish.


(p.1-21)

1-20

...
1: (p.1-21)
2: (p.1-21)
3: MathWorks (p.1-24)
4: (p.1-26)
5: (p.1-28)
6: (p.1-29)
7: (p.1-30)
8: (p.1-31)

1:

[] [MATLAB
]

MATLAB

Windows [] [] > [MATLAB] > [R2010a]


[ MATLAB R2010a]

MATLAB [] [] > [
]

2:

MathWorks

1-21


MathWorks
[]

Click Next.

MathWorks

[]
MathWork

1-22

If you have an Internet connection,


leave this option selected.

If you do not have an


Internet connection,
select this option.

Click Next.

To enter proxy server


settings or choose
other options.


[]
[]

MathWorks NTLM

(p.3-2)

1-23

3: MathWorks

MathWorks
[] MathWorks

[MathWorks ]
[] MathWorks (p.1-25)

[ ]
[]



[]

1-24

If you have an account, enter your


e-mail address and password.

If you need to create an


account, select this option.

Click Next.

If you have your License File,


specify the full path here.

MathWorks
MathWorks
[]


MathWorks Web

1-25

Enter e-mail address, first name, and last name.

Click Next.

Enter Activation Key.

4:


MathWorks
[]

1-26


MathWorks Web


[Unset]

MathWorks
[ ]
[]
Select a license.

Select option and enter


Activation Key.

License labels

License option
and activation type

Click Next.

?


MathWorks

1-27

5:


1
[ ]

[]
[]

Click option to choose activation type.

Click Next.

1-28

6:
[]

[ ]

[
]
MathWorks

ID
MathWorks


[
] []
[
]
[]
MathWorks

1-29

Leave this option selected


if you will use the software.

Specify the name, e-mail and


user name of the person who
will use software.

Use the user name you are


currently logged in under or
specify another.

Click Next.

7:
[]
The MathWorks
( [ ]
)

MathWorks
MathWorks

1-30

Verify all your activation data.

Click Activate.

8:
The MathWorks
MATLAB [MATLAB ]
[]

1-31

Click Finish.

1-32

...
1: (p.1-33)
2: (p.1-34)
3: (p.1-35)
4: (p.1-36)
5: (p.1-38)
6: (p.1-39)
7: ( ) (p.1-40)
8: ( ) (p.1-41)
9: (p.1-43)
10: (p.1-44)
11: (p.1-45)
12: (p.1-45)
13: (p.1-48)

1:



MathWorks Web

MATLAB

1-33

MathWorks
(p.1-2)MathWorks

(p.2-3)

2:
DVD DVD MathWorks Web

[
] []

1-34

Select this option if you do not


have an Internet connection.

Click Next.

3:
[]
[]
license.txt

1-35

Select Yes.

Click Next.

4:
[
]

[
] []
MathWorks Web

[ ]
[]

1-36

If you have the File Installation Key,


select this option.

Select this option to


gather the information
needed to get a File
Installation Key.

Enter the File Installation


Key here.

Click Next.


[ ] [
]
MathWorks Web

ID

(: R2010a)

(
)

[]

1-37

MathWorks Web
MathWorks

[]
Perform this procedure to complete activation.

Click Finish.

5:
[ ]
[]

1-38



[]


(
) []

Select Typical or Custom.

Click Next.

6:
MathWorks

(@) (!) (%)


(+) ($)
private

[]
[]

1-39

Specify name of installation folder.

Click Next.

7: (
)
[]



[]

1-40

Select the products you want to install.

Click Next.

8: (
)

[] MATLAB

MATLAB
.m MATLAB
MATLAB M-file

[]

1-41

Click Next.

1-42

.ctfx

MATLAB

.fig

MATLAB Figure

.m

MATLAB

.mat

MATLAB

.mdl

Simulink

.mdlp

Simulink

.mex*

MATLAB MEX
.mexw32 .mexw64

.mn

MuPAD

.mu

MuPAD

.muphlp

MuPAD

.p

MATLAB P

.ssc

Simscape

.xvc

MuPAD

.xvz

MuPAD

9:

[]
[]

Click Install.

1-43

10:
[]

MathWorks
MathWorks
[
]
[MATLAB
] [] (
)

To activate your software, leave this selected.

Click Next to proceed to


activation. If you cleared the
check box, button label
changes to Finish.

1-44

11:
MathWorks

[
] []

If you do not have an


Internet connection,
select this option.

Click Next.

12:


MathWorks Web

[ ]

[] [

1-45

]
(p.1-46)
Select this option if you
have a license file.

Click this option if you


do not have a license
file.

Specify the full path to


the license file here.

Click Next.


[
]

1-46

ID

(: R2010a)

(
)

[]

MathWorks Web
MathWorks

[]


MATLAB
Note the information
you need for activation.

To save this
information,
click Print.

To exit the
activation process,
click Close.

1-47

13:
The MathWorks
MATLAB [MATLAB ]
[]

Click Finish.

1-48

...
MATLAB (p.1-49)
(p.1-49)
(p.1-50)
MATLAB (p.1-50)
MATLAB (p.1-50)

MATLAB
MATLAB

- [MATLAB]

Windows [] [] > [MATLAB] > [R2010a]


[MATLAB R2010a]

Windows - MATLAB
MATLAB R2010a MATLAB
[MATLAB R2010a]

MATLAB MathWorks

1-49

MathWorks Web

MATLAB ( ) My
Documents MATLAB MATLAB
MATLAB
Startup Folder for the MATLAB Program

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

MATLAB
MATLAB MATLAB
MATLAB

1-50

MATLAB

MATLAB

MATLAB []

MATLAB

MATLAB []
HTML

MathWorks Web (www.mathworks.co.jp)


[]
()

1-51

MATLAB
...
MathWorks (p.1-52)
(p.1-54)
(p.1-60)

MathWorks
2

(p.1-54)
MathWorks
1 MATLAB
2

Windows [] [] > [ ] > [


] MATLAB R2010a
MATLAB uninstall
uninstall.exe

(p.1-60)

3 []

MATLAB MathWorks

1-52

MATLAB

Select products you want


to uninstall.

Click here to remove


MATLAB preferences.

Click Uninstall.

MathWorks
MATLAB
[OK] []
(p.3-5)
MATLAB [MATLAB
]
MATLAB

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

username

1-53

4 ()

MATLAB

matlabroot/archives
[]
5 []


[] MATLAB

(p.1-54)

Click Finish.

MathWorks

1-54

MATLAB

2
MathWorks

MathWorks

MathWorks Web

MathWorks
(p.1-52)

Windows [ ] [
] > [MATLAB] > [R2010a] > [ MATLAB
R2010a]

1-55

MATLAB [] > []

MATLAB uninstall
deactivate_matlab.exe

2 []

MATLAB

Select the license that


you want to deactivate.

Click Deactivate.

[]
[OK]
[MathWorks ]

1-56

MATLAB

3 []

MathWorks

4 [OK]

MathWorks
[
] [OK] [MathWorks
]

1-57

Click OK.

MathWorks
[]

MathWorks Web


[OK] [MathWorks
]

1-58

MATLAB

Deactivation string.

Click OK.

5 []

[]

[MathWorks ]

1-59

Select another license


to deactivate.

Status of license.

Click Close.

MATLAB uninstall uninstaller.ini

copy matlabroot\uninstall\uninstaller.ini C:\temp\my_uninstall.ini


2


directory
directory=C:\Program Files\MATLAB\R2010a

1-60

MATLAB

visible= -

visible
false
visible=false

outlog= -
outlog
outlog=C:\temp\my_uninstall.log

3
4 -if

(uninstall.exe)
[] []
uninstall

uninstall.exe -if C:\temp\my_uninstall.ini

1-61

...
Windows (p.1-62)
(p.1-62)

MathWorks Web (www.mathworks.co.jp)

Windows
32 64 MathWorks

RAM

Windows XP Service Pack 3

SSE2
Intel
AMD x86
*

1 GB

1024 MB

(MATLAB )

3 4 GB

( 2048 MB
)

Windows Server 2003 R2


Service Pack 2
Windows Vista Service Pack
1 2
Windows Server 2008 Service
Pack 2 R2
Windows 7

1-62

FLEXnet 11.6.1
MathWorks MATLAB
MATLAB
FLEXnet

TCP/IP

1-63

1-64

Microsoft Windows (32 64


) MathWorks
[] [ ]
MathWorks
1,

(p.2-2)

(p.2-3)

MathWorks (p.2-23)

(p.2-40)

( ) (p.2-45)

-
FLEXnet



FLEXnet

(p.2-3)

MathWorks -
MathWorks


MathWorks

MathWorks -
MathWorks



MathWorks (p.2-23)

( ) (p.2-45)



MathWorks Web

2-2


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

MATLAB

1:


MathWorks Web

ID MathWorks

2-3

MATLAB


(p.2-40)

MATLAB

1 MathWorks

MathWorks (p.2-23)

MATLAB


MATLAB
MATLAB


10

2

2:
DVD DVD MathWorks Web

2-4

[
] []
MathWorks

[]
[]
Select this option to install products (recommended).

Select this option if


you do not have an
Internet connection.

Click Next.

[]
[]
MathWorks NTLM

2-5

(p.1-33)

3:
[]
[]
license.txt

2-6

Select Yes.

Click Next.

4:MathWorks

MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

[ ]

MathWorks Web

2-7

If you have an account, enter your


e-mail address and password.

If you need to create an


account, select this option.

Click Next.

If you have your License File,


specify the full path here.

MathWorks

MathWorks Web []

2-8

Enter your e-mail address, first name, and last name.

Enter Activation Key.

Click Next.

5:
MathWorks
[]


MathWorks Web

2-9

[Unset]

MathWorks
[ ]
[]
Select a network license.

Select option and enter


Activation Key.

License label

License option
and activation type

Click Next.

MathWorks

2-10

6:
[]
[]
To install the license
manager, select Custom.

Click Next.

7:
MathWorks

(@) (!) (%)


(+) ($)
private

[]
[]

2-11

Specify name of installation folder.

Click Next.

8:


MathWorks

[] []

(p.3-5)

2-12

Select the license manager.

Clear other products, if


you are only installing the
license manager.

Click Next.

2-13

9:
(
) []
MathWorks

Specify full path of License File.

Click Next.


The
MathWorks

2-14

license.dat MATLAB
\flexlm

SERVER DAEMON SERVER (


) DAEMON
(matlabroot/flexlm/mlm.exe)

10:
MathWorks
Windows
[]
[]
[ ]


[
]

2-15

Click here to review


configuration settings.

Choose whether to configure license


manager as a service.

Click Next.

11:
MATLAB


2-16

[] MATLAB

MATLAB
.m MATLAB
MATLAB M-file

[]

Click Next.

.ctfx

MATLAB

.fig

MATLAB Figure

.m

MATLAB

.mat

MATLAB

2-17

.mdl

Simulink

.mdlp

Simulink

.mex*

MATLAB MEX
.mexw32 .mexw64

.mn

MuPAD

.mu

MuPAD

.muphlp

MuPAD

.p

MATLAB P

.ssc

Simscape

.xvc

MuPAD

.xvz

MuPAD

12:

[]
[]

2-18

Click Install.

[]

2-19

Click Next.

2-20

13:
MathWorks []
[]

MATLAB

Click Finish.

14:
MathWorks

-

license.dat

2-21

matlabroot\flexlm\
matlabroot MATLAB

MathWorks

-
MathWorks
DVD


MathWorks

MathWorks

2-22

- MathWorks
(p.2-23)

MathWorks

MathWorks
...
1: (p.2-23)
2: (p.2-24)
3: (p.2-25)
4:MathWorks (p.2-26)
5: (p.2-28)
6: (p.2-30)
7: (p.2-31)
8: (p.2-31)
9: (p.2-33)
10: ( ) (p.2-34)
11: (p.2-36)
12: (p.2-39)

1:

MATLAB

MATLAB

2-23

( ) (p.2-45)

MATLAB


MATLAB
MATLAB

2:
DVD DVD MathWorks Web

[
] []
MathWorks

[]
[]

2-24

MathWorks

Select this option to install products (recommended).

Select this option if


you do not have an
Internet connection.

Click Next.

[]
[]
MathWorks NTLM

(p.1-33)

3:
[]
[]

2-25

license.txt

Select Yes.

Click Next.

4:MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

[ ]

MathWorks Web

2-26

MathWorks

If you have an account, enter your


e-mail address and password.

If you need to create an


account, select this option.

Click Next.

If you have your License File,


specify the full path here.

MathWorks

MathWorks Web []

2-27

Enter your e-mail address, first name, and last name.

Enter Activation Key.

Click Next.

5:

MathWorks
[]

2-28

MathWorks


MathWorks Web


[Unset]

[
]

Select a network license.

Select option and enter


Activation Key.

License label

License option
and activation type

Click Next.

2-29

6:

[]
[ ]
[]



[]


(
) []
Select Typical or Custom.

Click Next.

2-30

MathWorks

7:
MathWorks

(@) (!) (%)


(+) ($)
private

[]
[]
Specify name of installation folder.

Click Next.

8:
[]

2-31

[] []

(p.3-5)
Do not select the license manager.

Make any product selections.

2-32

Click Next.

MathWorks

9:

[]
MathWorks

matlabroot\flexlm\license.dat matlabroot
MATLAB

Specify License File processed


during license manager installation
on your server.

Click Next.

2-33

network.lic
MATLAB \licenses

SERVER INCREMENT DAEMON


USE_SERVER

10: (
)

[] MATLAB

MATLAB
.m MATLAB
MATLAB M-file

[]

2-34

MathWorks

Click Next.

.ctfx

MATLAB

.fig

MATLAB Figure

.m

MATLAB

.mat

MATLAB

.mdl

Simulink

.mdlp

Simulink

.mex*

MATLAB MEX
.mexw32 .mexw64

.mn

MuPAD

.mu

MuPAD

2-35

.muphlp

MuPAD

.p

MATLAB P

.ssc

Simscape

.xvc

MuPAD

.xvz

MuPAD

11:

[]
[]

Click Install.

2-36

MathWorks

DVD


MathWorks Web

[]

2-37

Click Next.

2-38

MathWorks

12:
MathWorks []
[]

Click Finish.

2-39


...
(p.2-40)
(p.2-40)
(p.2-43)
(p.1-49)


Windows []

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


FLEXnet

MATLAB PDF FLEXnet


Licensing End User Manual (matlabroot\flexlm\LicenseAdministration.pdf)

LMTOOLS GUI (p.2-40)

lmutil (p.2-41)

LMTOOLS GUI
FLEXnet LMTOOLS
(GUI) LMTOOLS

2-40

LMTOOLS GUI

1 matlabroot\flexlm lmtools.exe

LMTOOLS
2 [Server Status]
3 [Perform Status Enquiry] LMTOOLS lmutil lmstat -a

lmutil
Windows FLEXnet
lmutil.exe
matlabroot\flexlm
lmutil
matlabrootflexlm

2-41

lmutil

lmutil

lmdiag

lmdown


(lmgrd )

lmhostid

ID

lmreread



: lmreread
FLEXnet
INCLUDE 15

lmstat

lmswitchr

lmver


DOS lmstat lmutil

lmutil lmstat -a -c "C:\Program Files\MATLAB\R2010a\flexlm\license.dat"

-a
-c -c
lmutil.exe

lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.

2-42

Flexible License Manager status on Sun 12/17/2009 15:12


[Detecting lmgrd processes...]
License server status: 27000@customerj
License File(s) on customerj: C:\Program Files\MATLAB\R2010a\flexlm\license.dat:
customerj: license server UP (MASTER) v.11.6.1
Vendor daemon status (on customerj):
MLM: UP v11.6.1
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).




mlm.exe lmgrd.exe



27000

2-43


DAEMON port=

2-44

( )

( )
...
(p.2-45)
(p.2-45)

MATLAB

MathWorks

(
)

MathWorks installer.ini
MathWorks DVD
Windows

C:\temp\my_install.ini
2

2-45

destination

destination=C:\Program Files\MATLAB\R2010a

visible= -


visible false

outlog= -
outlog

createActivateShortcut= - false Windows


[] [MATLAB]

[MATLAB]

createDeactivateShortcut= - false Windows


[] [MATLAB]

[MATLAB]

3
4 -if

(setup.exe)
[] [
] []

setup.exe -if C:\temp\my_install.ini

2-46

Microsoft Windows PC
MathWorks

(p.3-2)

(p.3-6)

MathWorks
MATLAB

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

...
(p.3-2)
(p.3-2)
(p.3-5)

MathWorks DVD DVD MathWorks Web


Microsoft Windows
DVD setup.exe





MathWorks
NTLM

[]

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

3-2

Enter server name, port, and


other required information.

Click OK.

MathWorks
MathWorks MathWorks MathWorks

MathWorks

MathWorks

2 MathWorks DVD DVD

3 [] [

3-3

1,

4 []

[MATLAB ]
[]
5 [MathWorks ]

[]

[] []
[]
[OK]

Select this option to activate


without an account.

3-4

Click OK.

[MathWorks ]
[]

6 []

[]

[
]

7 []

[] []

[OK]
[]

3-5

MATLAB
MathWorks FLEXnet


matlabroot\flexlm lmlog.txt FLEXnet


(p.2-40)
MathWorks Web
(www.mathworks.co.jp) [Support] Support

[ ]

Select an error.


matlabroot\flexlm\LicenseAdministration.pdf PDF
FLEXnet


ASCII

3-6

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

1 MATLAB -c

-c
-c

3-7

2 MATLAB MATLAB

2
MLM_LICENSE_FILE

MLM_LICENSE_FILE


MathWorks
(MathWorks )

LM_LICENSE_FILE

FLEXnet

MATLAB \licenses license.dat


.lic

3-8