Sie sind auf Seite 1von 161

MATLAB & Simulink Release 2011a

MathWorks
www.mathworks.co.jp
comp.soft-sys.matlab
www.mathworks.co.jp/contact_TS.html
support@mathworks.com
support@mathworks.com
doc@mathworks.co.jp
service@mathworks.co.jp
service@mathworks.co.jp

Web
Newsgroup

()
()

TEL: 03-6367-6700 ()
FAX: 03-6367-6710
The MathWorks GK
107-0052 415-1

MathWorks Web


COPYRIGHT 19962011 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.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

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 4

1
2
3
4
5
6
7
8

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)

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

1-2
1-2
1-4
1-6
1-9
1-10
1-13
1-16
1-17
1-18
1-20
1-23
1-24

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

1-26
1-26

. . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: . . . . . . . . . . . . . . . . . . . . . . . . .
2: . . .
3: . . . . . . . . . . . . . . . . . . . . . .
4: . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . . . . . . . . .

1-39
1-39
1-41
1-42
1-42
1-43
1-46

1-27
1-29
1-32
1-34
1-35
1-36
1-37

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

1-47

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

1-58
1-58
1-59
1-59
1-59
1-59

MathWorks () . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . .
Macintosh . . . . . . . . . . . .

1-61
1-61
1-65
1-65

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

1-67

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Macintosh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-73
1-73
1-74
1-74

1-48
1-49
1-51
1-52
1-53
1-54
1-57

vi

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

2-2

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

2-4
2-4
2-7

2:

..............................................
3: . . . . . . . . . . .
4: MathWorks . . . . . . . . . . . . . .
5: . . . . . . . . . . . . . .
6: . . . . . . . . . . . . . . . . . . .
7: MATLAB . . . .
8: . . . . . . . . . . . . . . . . . .
9: . . . . . . . . . . . . . .
10: . . . . . . . . . . . . . . .
11: . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12: . . . . . . . . . . . . . . . . . . . . . . . . .
13: . . .

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

2-8
2-10
2-11
2-14
2-16
2-16
2-17
2-19
2-20
2-22
2-25
2-25

2-27
2-27
2-29
2-31
2-33
2-34
2-37
2-39
2-40
2-41
2-42
2-43
2-46
2-49

. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
Linux . . . . . . . . . . . . . . . . . .
Macintosh
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .

2-50
2-50
2-52

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

2-60
2-60
2-60

2-53
2-55

vii

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

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

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

3-6
3-6
3-7

Index

viii


MathWorks

Microsoft Windows (32 64 )

Linux (32 64 )

Mac OS X

MathWorks (p.1-2)

(p.1-26)

(p.1-39)

(p.1-58)

MathWorks () (p.1-61)

(p.1-67)

(p.1-73)

MathWorks
...
(p.1-2)
1: (p.1-4)
2: (p.1-6)
3: (p.1-9)
4: MathWorks (p.1-10)
5: (p.1-13)
6: (p.1-16)
7: (p.1-17)
8: ( ) (p.1-18)
9: ( ) (p.1-20)
10: (p.1-23)
11: (p.1-24)

MathWorks

MathWorks

LEU (
) MathWorks

1-2

MathWorks

MATLAB

Windows

Linux MATLAB

matlab

Macintosh
Macintosh
MathWorks
[Authenticate]

1-3

(p.1-39)
2 ,

MATLAB

MATLAB

10
9 MATLAB
9

1:

1-4

Windows DVD DVD


MathWorks Web

Macintosh DVD MathWorks


DVD MathWorks Web
DVD
DVD InstallForMacOSX

MathWorks

Linux DVD DVD

/path_to_dvd/install &

1-5



./install

2:

[
] []
MathWorks

[
] []

1-6

MathWorks

Select this option to install products (recommended).

Select this option if Click Next.


you do not have an
Internet connection.

1-7

[]
[]
MathWorks

1-8

MathWorks

3:
[]
[]

license.txt

Click Next.

Select Yes.

1-9

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.

1-10

Click Next.

If you have
a File Installation
Key, enter it here.

MathWorks

MathWorks

MathWorks Web []
MathWorks
Enter your e-mail address.

Click Next.

Create a password for your account.

Enter Activation Key.

Enter first name and last name.

: MathWorks
[]
[]
MathWorks
[]

1-11

Follow these instructions.

Click Next.

1-12

MathWorks

5:
MathWorks
[]


MathWorks Web


[Unset]

MathWorks
[ ]
[]

MathWorks

1-13

License labels and options


descriptions help identify licenses.

Select a license.

Select option
and enter
Activation Key.

Click Next.

[ ]
[
]

1-14

MathWorks

Enter activation key.

Click Next.

1-15

6:
[ ] [] []
[]



[]


(
) []
Select Typical or Custom.

Click Next.

1-16

MathWorks

7:
MathWorks
[]

Macintosh MATLAB
MATLAB_R2011a.app Applications

[]
[]
Specify name of installation folder.

Click Next.

1-17

8: (
)
[]



[]

Select the products you want to install.

Click Next.

MathWorks Web

1-18

MathWorks

DVD

[] []
DVD
[]

[ ]

[
]
[]

Choose to install product from DVD


or download version from Web.

Select only
latest version
of all products.

Click Next.

Provides information about


the size of the download.

Clear selection
of all product
downloads.

Total download
size.

1-19

9: (
)

Windows
Windows [ ]

[] MATLAB

MATLAB

[]

Click Next.

1-20

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

Linux
Linux matlab mex

/usr/local/bin
[]

1-21

Select this option and specify


the location of symbolic links.

Click Next.

1-22

MathWorks

10:

[]
[]

Click Install.

1-23

DVD


MathWorks Web

[]

Click Next.

11:
[]

MathWorks
MathWorks
[]

1-24

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.


(p.1-26)

1-25

...
1: (p.1-26)
2: (p.1-27)
3: MathWorks (p.1-29)
4: (p.1-32)
5: (p.1-34)
6: (p.1-35)
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\win32
matlabroot\bin\win32
Linux Macintosh matlabroot/bin
activate_matlab.sh

1-26

Windows [ ] [
] [MATLAB] [R2011a] [MATLAB R2011a
]

Macintosh MATLAB
MATLAB
(
control ) []

2:

"" MathWorks


MathWorks
[
]

Click Next.

1-27

MathWorks

[]
MathWork


If you have an Internet connection,
leave this option selected.

Click Next.
If you do not
have an Internet
connection, select
this option.

To enter proxy server


settings or choose
other options.


[]
[]

1-28

MathWorks

(p.3-2)

3: MathWorks
:

MathWorks []
MathWorks

MathWorks [MathWorks ]
[]
[ ]
[]



[]

1-29

If you have an account, enter your


e-mail address and password.

If you need to
create an account, Click Next.
select this option.

If you have your License File,


specify the full path here.

MathWorks

MathWorks Web []

1-30

Enter e-mail address.

Click Next.

Create a password for your account.

Enter Activation
Key.

Enter first and last name.

MathWorks
[]
[]
MathWorks
[]

1-31

Follow these instructions.

Click Next.

4:
:


MathWorks
[]

1-32


MathWorks Web


[Unset]

MathWorks
[ ]
[]

MathWorks

License labels and license option
descriptions help identify licenses.

Select a license.

Click Next.

Enter Activation Key, to identify


a license not shown.

1-33

5:
:


[ ]
[
]
[]
Click option to choose activation type.

Click Next.

1-34

6:
: []





MathWorks

ID
MathWorks


[
] []

[
]
[]
MathWorks

1-35

Leave this option selected


if you will use the software.

Specify the user name of the


person who will use the
software.

Specify information Click Next.


about the person
who will use software.

7:
[]
MathWorks
( [ ]
)

MathWorks
MathWorks

1-36

Verify all your activation data.

Click Activate.

8:
[]

1-37

Click Finish.

1-38

...
(p.1-39)
1: (p.1-41)
2: (p.1-42)
3: (p.1-42)
4: (p.1-43)
5: (p.1-46)
6: (p.1-47)
7: ( ) (p.1-48)
8: ( ) (p.1-49)
9: (p.1-51)
10: (p.1-52)
11: (p.1-53)
12: (p.1-54)
13: (p.1-57)



MathWorks Web

1-39

MATLAB

1-40

Windows

Linux MATLAB

matlab

Macintosh
Macintosh
MathWorks
[Authenticate]

MathWorks
(p.1-2)MathWorks

(p.2-4)

1:

Windows DVD DVD


MathWorks Web

Macintosh DVD MathWorks


DVD MathWorks Web
DVD
DVD InstallForMacOSX

Linux DVD DVD

/path_to_dvd/install &

1-41



./install

2:
[
] []
Select this option if you do not
have an Internet connection.

Click Next.

3:
[]
[]

license.txt

1-42

Click Next.

Select Yes.

4:
[
]

[ ]
[]
MathWorks Web

[ ]
[]

1-43

Enter File Installation Key here.

Click Next.
Select this option to
gather the information
needed to get a File
Installation Key.


[]
MathWorks Web (License Center)

1-44

ID

(R2011a )

(
)

Perform this procedure to complete activation.

Click Finish.


1 []

Windows Linux []/[Print]

2 MathWorks Web

MathWorks

4

1-45

5:
[ ]
[]



[]


(
) []
Select Typical or Custom.

Click Next.

1-46

6:
MathWorks
[]

Macintosh MATLAB
MATLAB_R2011a.app Applications

[]
[]
Specify name of installation folder.

Click Next.

1-47

7: (
)
[]



[]

Select the products you want to install.

Click Next.

1-48

8: (
)

Windows
Windows [ ]

[] MATLAB

MATLAB

[]

Click Next.

1-49

.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

Linux
Linux matlab mex

/usr/local/bin
[]

1-50

Select this option and specify


the location of symbolic links.

Click Next.

9:

[]
[]

1-51

Click Install.

10:
[]

MathWorks
[]
[MATLAB
] [] (
)

1-52

To activate your software, leave this selected.

Click Next to proceed to


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

11:
MathWorks

[
] []

1-53

Click Next.
Select this
option to activate
without an
Internet connection.

12:


MathWorks Web
[ ]

[]
[ ]
[]

1-54

Specify the full path to


your license file here.

Click this option


if you do not have
a license file.

Click Next.


[
]

ID

(: R2011a)

(
)

[]

1-55

MathWorks Web
(License Center) MathWorks

[]

:
MATLAB
Note the information
you need for activation.

To save this
information,
click Print.

1-56

To exit the
activation process,
click Close.

13:
[]

Click Finish.

1-57

...
MATLAB (p.1-58)
(p.1-59)
MATLAB (p.1-59)
MATLAB (p.1-59)
MATLAB (p.1-59)

MATLAB
MATLAB

Windows :

Windows 7 Windows []
[MATLAB R2011a]

Windows XP Windows []
[] [MATLAB] [R2011a] [MATLAB R2011a]

[ ]
MATLAB

matlabroot/bin matlabroot MATLAB


matlab.exe

Linux

1-58

matlab [
]
matlabroot/bin/matlab
matlabroot MATLAB

Macintosh

MATLAB

MATLAB MathWorks


MathWorks Web

MATLAB
MATLAB
() My Documents\MATLAB (
9: ( ) (p.1-20)
)
MATLAB

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

MATLAB
MATLAB MATLAB
MATLAB

1-59

1-60

MATLAB

MATLAB

MATLAB []

MATLAB

MATLAB []
HTML

MathWorks Web (www.mathworks.co.jp)


[]
()

MathWorks ()

MathWorks ()
MathWorks

: 2

(p.1-67)

Windows
MathWorks
1 MATLAB
2

Windows 7 [] [
] [ ] []
[MATLAB R2011a]

Windows XP [] [
] [ ] []
[MATLAB R2011a] [/]

matlabroot/uninstall/bin/$ARCH matlabroot
MATLAB $ARCH win32

uninstall.exe


(p.1-64)
3 [] [

]
MATLAB MathWorks

1-61

Select products you want


to uninstall.

Click Uninstall. Click here to remove


MATLAB preferences.

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

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

1-62

MathWorks ()

username
4 ()

MATLAB

matlabroot/archives
[]
5 []


[] MATLAB

(p.1-67)

Click Finish.

1-63


: MATLAB
( ) (p.2-60)

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

1-64

MathWorks ()

Linux
:

(p.1-67)

1 MATLAB
2

matlabroot/etc lmdown
3 Linux

rm -rf matlabroot

matlabroot MATLAB

Macintosh
: MATLAB

MATLAB
1 Macintosh

MATLAB

2 MATLAB MATLAB

lmdown

1-65

3 MATLAB

Applications MATLAB_R2011a.app

4 MATLAB [Finder] [

1-66

MathWorks

2
MathWorks

MathWorks

MathWorks Web

: 2

MathWorks
() (p.1-61)

1-67

MATLAB [] []

MATLAB matlabroot

Windows :
matlabroot\uninstall\bin\win32\deactivate_matlab.exe
Linux
matlabroot/bin/deactivate_matlab.sh
Macintosh
/Applications/MATLAB_R2011a.app/bin/deactivate_matlab.sh

Windows 7 [] MATLAB

Windows XP [] [
] [MATLAB] [R2011a] [MATLAB R2011a
]

2 []

MATLAB

1-68

Select the license that


you want to deactivate.

Click Deactivate.

[]
[OK]
[MathWorks ]

1-69

3 []

MathWorks

4 [OK]

MathWorks
[
] [OK] [MathWorks
]

Click OK.

MathWorks

1-70

[]

MathWorks Web


[OK] [MathWorks
]
Deactivation string.

Click OK.

5 [MathWorks

[] [
]

1-71

Select another license


to deactivate.

Click Close.

1-72

Status of license.

...
Windows (p.1-73)
Macintosh (p.1-74)
Linux (p.1-74)

: MathWorks Web (www.mathworks.com)

FLEXnet 11.6.1
MathWorks MATLAB
MATLAB
FLEXnet

TCP/IP

Windows
32 64 MathWorks

RAM

Windows XP Service Pack 3

SSE2
Intel
AMD x86

1 GB
(MATLAB )

1,024 MB

Windows XP x64 Edition


Service Pack 2

3 4 GB

( 2048 MB
)

Windows Server 2003 R2


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

1-73

32 64 MathWorks ()

RAM

Pack 2 R2
Windows 7

Macintosh
32 64 MathWorks

RAM

Mac OS X 10.5.5
(Leopard)

Intel
Macintosh

Intel Core 2

1 GB
(MATLAB )

1,024 MB

Mac OS X 10.6.x
(Snow Leopard)

3 4 GB

( 2048
MB )

Linux
32 64 MathWorks

RAM

*:

SSE2
Intel AMD x86

1 GB
(MATLAB )

1,024 MB

Debian 5.x
Red Hat Enterprise Linux
5.x
SUSE Linux Enterprise
Desktop 11.x

1-74

3 4 GB

( 2048 MB
)

32 64 MathWorks ()

RAM

Ubuntu 9.10 10.04


LTS
* MathWorks Linux
version 2.6 glibc version 2.5
MathWorks MathWorks

1-75

1-76

[] [ ]
MathWorks

Microsoft Windows (32 64 )

Linux (32 64 )

Mac OS X

MathWorks 1 ,

(p.2-2)

(p.2-4)

MathWorks (p.2-27)

(p.2-50)

( ) (p.2-60)

-
FLEXnet



FLEXnet


(p.2-4)

MathWorks -
MathWorks


MathWorks

MathWorks -
MathWorks



MathWorks (p.2-27)



( ) (p.2-60)

2-2

:

MathWorks Web

2-3


...
(p.2-4)
1: (p.2-7)
2: (p.2-8)
3: (p.2-10)
4: MathWorks (p.2-11)
5: (p.2-14)
6: (p.2-16)
7: MATLAB (p.2-16)
8: (p.2-17)
9: (p.2-19)
10: (p.2-20)
11: (p.2-22)
12: (p.2-25)
13: (p.2-25)

: MATLAB

2-4

MathWorks

MathWorks


MathWorks


MathWorks Web

ID MathWorks



(p.2-50)

MATLAB

Windows

Linux MATLAB

matlab

Macintosh
Macintosh

2-5

MathWorks
[Authenticate]

1 MathWorks

MathWorks (p.2-27)

MATLAB

MATLAB
MATLAB

2-6

:


2

1:

Windows DVD DVD


MathWorks Web

Macintosh DVD MathWorks


DVD MathWorks Web
DVD
DVD InstallForMacOSX

Linux DVD DVD

/path_to_dvd/install &

2-7



./install

2:

[
] []
MathWorks

[
] []

2-8

Select this option to install products (recommended).

Select this option if Click Next.


you do not have an
Internet connection.

2-9

[]
[]
MathWorks

(p.1-39)

3:
[]
[]

license.txt

2-10

Click Next.

Select Yes.

4: MathWorks
:
MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

[ ]

MathWorks Web

2-11

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
a File Installation
Key, enter it here.

MathWorks

MathWorks Web []
MathWorks

2-12

Enter your e-mail address.

Click Next.

Create a password for your account.

Enter Activation Key.

Enter first name and last name.

: MathWorks
[]
[]
MathWorks
[]

2-13

Follow these instructions.

Click Next.

5:
MathWorks
[]

2-14


MathWorks Web

[Unset]

MathWorks
[ ]
[]
Select the
network license...

...or enter Activation Key for


network license.

Click Next.

MathWorks

2-15

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

Click Next.

7: MATLAB
MathWorks
[]

Macintosh MATLAB
MATLAB_R2011a.app Applications

2-16

[]
[]
Specify name of installation folder.

Click Next.

8:


MathWorks
(
)

2-17

[] []

(p.3-5)
Select the license manager.

Clear all other


products.

2-18

Click Next.

9:

[]
MathWorks Web

Specify full path of License File.

Click Next.


MathWorks Web

license.dat MATLAB
\etc

2-19

SERVER DAEMON SERVER (


) DAEMON

matlabroot/etc matlabroot
MATLAB

10:

Windows
MathWorks
Windows

[]

:
[
]

2-20

Choose whether to configure license


manager as a service.

Click here to review


configuration settings.

Click Next.

Macintosh

[Next]

2-21

Choose whether to configure the license


manager to start automatically at startup time.

Enter the user name that owns


the license manager process.

Click Next.

11:

[]
[]

2-22

Click Install.

[]

2-23

Click Next.

2-24

12:
[]
[]

MATLAB

Click Finish.

13:
MathWorks

-

(p.2-19)

2-25

MathWorks

-
MathWorks
DVD


MathWorks

MathWorks

2-26

- MathWorks
(p.2-27)

MathWorks

MathWorks
...
(p.2-27)
1: (p.2-29)
2: (p.2-31)
3: (p.2-33)
4: MathWorks (p.2-34)
5: (p.2-37)
6: (p.2-39)
7: MATLAB (p.2-40)
8: (p.2-41)
9: (p.2-42)
10: ( ) (p.2-43)
11: (p.2-46)
12: (p.2-49)

MathWorks

MathWorks


MathWorks

2-27


(p.2-50)

MATLAB

2-28

Windows

Linux MATLAB

matlab

Macintosh
Macintosh
MathWorks
[Authenticate]

MathWorks

( ) (p.2-60)

MATLAB


MATLAB
MATLAB

1:

Windows DVD DVD


MathWorks Web

Macintosh DVD MathWorks


DVD MathWorks Web
DVD

2-29

DVD InstallForMacOSX

Linux DVD DVD

/path_to_dvd/install &

2-30

MathWorks



./install

2:

[
] []
MathWorks

[
] []

2-31

Select this option to install products (recommended).

Select this option if Click Next.


you do not have an
Internet connection.

2-32

MathWorks

[]
[]
MathWorks

(p.1-39)

3:
[]
[]

license.txt

2-33

Click Next.

Select Yes.

4: MathWorks
MathWorks
[] MathWorks

MathWorks [MathWorks ]
[]

[ ]

MathWorks Web

2-34

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
a File Installation
Key, enter it here.

MathWorks

MathWorks Web []
MathWorks

2-35

Enter your e-mail address.

Click Next.

Create a password for your account.

Enter Activation Key.

Enter first name and last name.

: MathWorks
[]
[]
MathWorks
[]

2-36

MathWorks

Follow these instructions.

Click Next.

5:
:

MathWorks
[]

2-37


MathWorks Web


[Unset]

[
]

Select the
network license...

...or enter Activation Key for


network license.

Click Next.

2-38

MathWorks

6:
:
[]
[ ]
[]



[]


(
) []
Select Typical or Custom.

Click Next.

2-39

7: MATLAB
MathWorks
[]

Macintosh MATLAB
MATLAB_R2011a.app Applications

[]
[]
Specify name of installation folder.

Click Next.

2-40

MathWorks

8:
[]

[] []

(p.3-5)
Leave the license manager unselected.

Select the
products you
want to install.

Click Next.

2-41

9:

[]


SERVER DAEMON

license.dat

matlabroot/etc
matlabroot MATLAB
Specify License File processed
during license manager installation
on your server.

Click Next.

2-42

MathWorks

network.lic
MATLAB \licenses

SERVER INCREMENT DAEMON


USE_SERVER

10: (
)

Windows
Windows [ ]

[] MATLAB

MATLAB

[]

2-43

Click Next.

2-44

.ctfx

MATLAB

.fig

MATLAB Figure

.m

MATLAB

.mat

MATLAB

.mdl

Simulink

.mdlp

Simulink

.mex*

MATLAB MEX
.mexw32 .mexw64

.mn

MuPAD

MathWorks

.mu

MuPAD

.muphlp

MuPAD

.p

MATLAB P

.ssc

Simscape

.xvc

MuPAD

.xvz

MuPAD

Linux
Linux matlab mex

/usr/local/bin
[]

2-45

Select this option and specify


the location of symbolic links.

Click Next.

11:

[]
[]

2-46

MathWorks

Click Install.

DVD


MathWorks Web

2-47

[]

Click Next.

2-48

MathWorks

12:
MathWorks []
[]

Click Finish.

2-49


...
(p.2-50)
Linux (p.2-52)
Macintosh
(p.2-53)
(p.2-55)


MATLAB
Windows Macintosh

(Linux
Linux
(p.2-52))

Windows (p.2-50)

Linux (p.2-51)

Macintosh (p.2-51)

Windows
Windows

2-50


Windows []
Windows [] [] [
] [] []

matlabroot\etc\win32 win64 MATLAB


lmtools.exe lmtools.exe

[Start/Stop/Reread]

Linux
Linux lmstart
(matlabroot/etc ) lmstart

: lmstart

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

username

Macintosh
:


1 Terminal (/Applications/Utilities)
2 MATLAB

cd /Applications/MATLAB_R2011a.app/etc

2-51

./lmgrd

: license.dat lmstart
lmstart

Linux
Linux

MathWorks
Bourne matlabroot/etc/flexnet.boot.linux

Bourne
1 root
2 ()

ln -s matlabroot/etc/lmboot /etc/lmboot_TMW
ln -s matlabroot/etc/lmdown /etc/lmdown_TMW
3 32 64

Debian
SUSE

cp matlabroot/etc/flexnet.boot.linux /etc/init.d/flexnet

Red Hat
Fedora Core

cp matlabroot/etc/flexnet.boot.linux
/etc/rc.d/init.d/flexnet

4 flexnet

lmboot_TMW username root

2-52

5 /etc/inittab
6 rc

32 64 Linux
5

Debian

cd /etc/rc5.d;
ln -s ../init.d/flexnet S90flexnet

Red Hat
Fedora Core

cd /etc/rc.d/rc5.d;
ln -s ../init.d/flexnet S90flexnet

SUSE

cd /etc/init.d/rc5.d;
ln -s ../flexnet S90flexnet


Linux

SUSE version 10 /etc/init.d


.depend.start

/etc/init.d/.depend.start
flexnet: network

6 S90flexnet symlink
S99flexnet

Macintosh

1 /Library

2-53

2 StartupItems

3 matlabroot/etc/MATLABLmgr StartupItems
4 /etc/MATLABlmgr config_lm.sh

(/Applications/Utilities
)
cd /Library/StartupItems/MATLABLmgr
./config_lm.sh
5 MathWorks

MathWorks /Applications/MATLAB_R2011a

/Applications/MATLAB_R2011a
6 whoami

"Starting MATLAB License Manager"


3 ,



MATLABLmgr
1 [Finder] [] []
2 []

/Library/StartupItems/MATLABLmgr

[] MATLABLmgr

2-54

3 StartupParameters.plist StartupParameters_disabled.plist

1 3
StartupParameters_disabled.plist StartupParameters.plist

Macintosh
1 [Finder] [] []
2 []

/Library/StartupItems/MATLABLmgr

[] MATLABLmgr

3 MATLABLmgr [Finder] [


FLEXnet

MATLAB PDF
(matlabroot\etc\LicenseAdministration.pdf)

LMTOOLS GUI (Windows ) (p.2-55)

(p.2-56)

LMTOOLS GUI (Windows )


Windows FLEXnet Publisher LMTOOLS
(GUI) LMTOOLS

2-55

LMTOOLS GUI

1 LMTOOLS matlabroot\etc\$ARCH lmtools.exe

matlabroot MATLAB
$ARCH win32

2 [Server Status]
3 [Perform Status Enquiry] LMTOOLS

lmutil lmstat -a


FLEXnet

2-56

Windows FLEXnet lmutil.exe

matlabroot\etc\$ARCH matlabroot
MATLAB $ARCH win32

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

-a -c
lmutil

lmutil - Copyright (c) 1989-2010 Flexera Software Inc. All Rights Reserved.
Flexible License Manager status on Tue 1/4/2011 10:11
[Detecting lmgrd processes...]
License server status: 27000@ah-jcustomer
License File(s) on customerj: C:\Program Files\MATLAB\R2011a\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).

2-57

lmutil

lmutil -h

-h

lmutil lmstat -h

Linux Macintosh
matlabroot/etc
lmstat

lmstat -a
lmutil - Copyright (c) 1989-2010 Flexera Software Inc. All Rights Reserved.
Flexible License Manager status on Tue 1/4/2011 10:11
License server status: 27000@ah-jcustomer
License File(s) on customerj: /user/local/MATLAB/R2011a/etc/license.dat:
customerj: license server UP (MASTER) v.11.9
Vendor daemon status (on customerj):
MLM: UP v11.9
Feature usage info:
Users of MATLAB: (Total of 5 licenses available)
Users of SIMULINK: (Total of 5 licenses available)

-h

lmstat -h

2-58

lmdiag

lmdown


(lmgrd )

lmhostid

ID

lmreread



: lmreread
FLEXnet
INCLUDE 15

lmstat

lmswitchr

lmver

2-59

( )
...
(p.2-60)
(p.2-60)

MATLAB
MathWorks



( )

: MATLAB ()
(p.1-64)

MathWorks DVD installer_input.txt


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

2-60

( )

destinationFolder=

destinationFolder=C:\Program Files\MATLAB\R2011a


fileInstallationKey=

3
4 -inputFile


Windows [] [
] []

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

Linux Macintosh

2-61

2-62

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

[]

[] (
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\etc\$ARCH FLEXnet lmlog.txt


(p.2-55)
MathWorks Web
(www.mathworks.co.jp/support/) []
Support
[ ]

Select an error.


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

3-6



27000


DAEMON port= <>


ASCII

INCREMENT

( INCREMENT
) (\)

(#) MathWorks
(
ID )

3-7

# 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

2 MATLAB MATLAB

2
MLM_LICENSE_FILE

3-8

MLM_LICENSE_FILE


MathWorks (MathWorks
)

LM_LICENSE_FILE

FLEXnet

MATLAB \licenses license.dat


.lic

3-9

3-10

Index
A

activating MATLAB software


choosing automatic or manual 1-27
choosing manual option 1-53
completing off-network activation
on systems running Windows 1-57
confirming settings 1-36
for someone else 1-35
procedure 1-26
selecting a license during activation 1-32
starting activation application 1-24 1-27
starting activation application after off-network
installation 1-53
starting activation application after off-network
installations 1-52
starting the activation application 1-26
without a MathWorks Account 3-3
activation application
starting 1-26
Activation Key
creating an account during network
installations 2-12
creating an account during standalone
installations 1-11
specifying 2-15 2-38
specifying during standalone installations 1-13 to
1-14
used to create MathWorks Account 1-30
activation label
viewing during activation 1-32
activation type
selecting during activation 1-34
Advanced Options button
activating without a MathWorks Account 3-3

client installation procedure


network client 2-27
current folder
initial 1-59

boot scripts
use by installer 2-52

INCREMENT lines

D
daemons
opening access in security firewalls 3-6
starting 2-51
deactivating MATLAB installations 1-67
deactivation string
deactivating without an Internet connection 1-67
retrieving 1-70
Designated Computer activation type
selecting during activation 1-34

F
file associations
specifying during installation 1-20
File Installation Key
entering for off-network installation 1-43
obtaining 1-44
required for off-network installations 1-39
firewalls
opening access to license manager daemons 3-6
FLEXnet
troubleshooting 3-6

H
host ID
in License File 3-7

in License Files 3-7


initial current folder 1-59

Index-1

Index

install_input.txt 2-60

installation folder
specifying 1-17
specifying for off-network installations 1-47
specifying in network installations 2-40
on systems running Windows 2-16
installation options
specifying file associations 1-20
specifying in network installations 1-49 2-43
installation procedure
network 2-4
network client 2-27
noninteractive 2-60
installation type
choosing during standalone installations 1-16
choosing typical or custom 1-46
choosing typical or custom in network installations
on systems running Windows 2-16 2-39
installer
running noninteractively 2-60
starting 1-4 1-41 2-7 2-29
installer input file
specifying 2-60
installing
starting the installer manually 3-2
turning off virus-checking software during
installation 3-2
installing MATLAB
choosing automatic or manual in network
installations
on systems running Windows 2-8 2-31
choosing automatic or manual installation 1-6
choosing manual for off-network
installations 1-42
in network configurations 2-1
in standalone environments 1-2
preparing for installation in standalone
environments 1-2
preparing for off-network installations 1-39
preparing to install in a network configuration

Index-2

on systems running Windows 2-4 2-27


standard installation procedures 1-1
installing MATLAB software
finishing network installation
on systems running Windows 2-25 2-49

L
License Files
comment lines 3-7
getting the information you need to obtain 1-55
INCREMENT lines 3-7
processing in installation
on systems running Windows 2-19 2-43
required for off-network installations 1-39
search path 3-7
specifying during activation after off-network
installation 1-54
specifying location in network installation 2-19
2-42
license manager
automating startup
on Macintosh systems 2-53
configuring in network installation 2-20
disabling 2-54
installing on server in network configurations 2-4
re-enabling 2-55
removing 2-55
starting automatically at boot time 2-52
starting daemons 2-51
startup problem 2-51
troubleshooting 3-6
using the LMTOOLS GUI 2-55
utility programs 2-56
license numbers
selecting during activation 1-32
license options
viewing during activation 1-32
licenses
deactivating 1-67

Index

selecting during installation 1-13


selecting in network installations
on systems running Windows 2-14 2-37
validating
on systems running Windows operating
system 1-59
licensing
viewing the log file 3-6
LM_LICENSE_FILE environment variable 3-7
lmdiag

diagnosing license checkout problems 2-59


lmdown

shutting down the license manager 2-59


lmhostid

getting system host ID 2-59


lmlog.txt

license manager log file 3-6


lmreread

forcing license manager to reprocess the License


File 2-59
lmstat

viewing license manager status 2-59


lmswitchr

specifying the report log file 2-59


LMTOOLS

licensing utility GUI 2-55


lmtools.exe

licensing utilities GUI 2-55


lmutil.exe

license manager utilities 2-56

creating during activation 1-30


creating during installation 1-11
creating during network installations 2-12
creating for someone else during activation 1-35
installing without an account 3-3
logging in 1-10
logging in during activation 1-29
logging in during network installations
on systems running Windows 2-11 2-34
MATLAB
getting started 1-59
starting 1-58
MATLAB installation folder
specifying 1-17
specifying for off-network installations 1-47
specifying in network installations 2-40
on systems running Windows 2-16
MATLABLmgr script 2-53
MLM_LICENSE_FILE environment variable 3-7

N
network client installation procedure
installing software on clients in network
configurations 2-27
network configurations
installing MATLAB software 2-1
network installation procedure
installing MATLAB in network configurations 2-4
post-installation tasks 2-50

lmver

get FLEXnet version number 2-59


log files
license manager 3-6
login name
specifying during activation 1-35

M
MathWorks Account

O
operating system user name
specifying during activation 1-35
overwriting an existing installation
individual installation 1-4

P
passcode

Index-3

Index

encrypted in license file 3-7


port numbers
opening access in security firewalls 3-6
preference files
removing 1-62
products
downloading during standalone installations 1-18
selecting during installation 1-18
selecting for off-network installations
on systems running Windows 1-48
selecting in network installations
on systems running Windows 2-17 2-41
proxy server
specifying 3-2
specifying during activation 1-28
proxy server settings
setting 1-27

R
removing a MATLAB installation 1-61
using uninstaller properties file 1-64
requirements. See system requirements
reviewing software license agreement 1-9
for network installations 2-10
on systems running Windows 2-33
on systems running Windows
off-network installations 1-42

S
security firewalls
opening access to license manager daemons 3-6
selecting licenses 1-13
in network installations
on systems running Windows 2-14 2-37
selecting products
for off-network installations
on systems running Windows 1-48
in network installations

Index-4

on systems running Windows 2-17 2-41


on systems running Windows 1-18
setup.exe

in noninteractive installations 2-60


starting 3-2
shortcut
MATLAB shortcut on desktop 1-58
shortcuts
specifying during installation 1-20
silent installations
running without screen displays 2-60
software license agreement
reviewing 1-9
reviewing for off-network installations 1-42
reviewing in network installations 2-10
on systems running Windows 2-33
Standalone Named User activation type
selecting during activation 1-34
specifying user name during activation 1-35
starting MATLAB 1-58
troubleshooting 3-6
starting MATLAB software
after activation is complete
on systems running Windows 1-37
startup folder 1-59
system requirements 1-73

T
troubleshooting
during installation 3-2
FLEXnet 3-6
starting MATLAB 3-6

U
unassociated activation
defined 3-3
uninstall.exe 1-64
uninstalling 1-61

Index

using uninstaller properties file 1-64


upgrading an installation
network installations 2-6 2-29
standard installations 1-4
user name
selecting during activation 1-35

on systems running Windows operating


system 1-59
virus checking software
disabling during network installations 2-6 2-29
virus-checking software
turning off during installation 3-2

V
validating an installation

Index-5