________________________________________________
- . ., . ., . . MATLAB 7. - .: -, 2005. 1104 .
- :
, | , | ||
, | (), | ||
, | -. |
- ;
- ;
- ( , );
- ;
- ;
- ( , ).
: | /_____________/ | / ___________/ |
: | /_____________/ | / ___________/ |
___________ |
1.
Matlab . , , , . Matlab:
;
;
, , ;
, ;
;
, .
Matlab , . , - .
Matlab . , -. . , - .
C Matlab
Matlab , . : , , -, DOS, , , Microsoft Word, Microsoft Excel . , , , / -, .
|
|
, Windows.
Matlab -:
( );
function ( ).
, . : . , . - , .
, , . (GUI Graphical UserInterface)
.
, :
1. ,
2. .
3. .
1. .
2. . .
'', (The Alignment Tool) (The Property Editor).
, :
WORKSPACE ( MATLAB).
GUI (The Control Panel).
-, WARKSPACE .
, , m-. .
. , , , , GUI , .
|
|
3. (GUI) .
, Matlab, m-. m- - .
m-:
) ;
) (The Property Editor).
GUIDE () guide File () New () GUI ( ).
2. ( , );
MATLAB
MATLAB GUIDE (Graphical User Interface Development Environment) . - (, ..) , , .
, , . MATLAB , , , ., .
? -, - , - . -, , . , , , , , , .
- . , GUIDE, , , .
1.
MATLAB. | ||
Push Button | Visual Basic (VB) - CommandButton BCB, Delphi - Button Visual C++ - Push Button | |
Toggle Button | , | BCB, Delphi - SpeedButton |
Radiobutton | - | VB - Option Box BCB, Delphi - RadioButton Visual C++ - Radio Button |
Checkbox | - | VB - CheckBox BCB, Delphi - CheckBox |
Edit Text | , | VB - TextBox BCB, Delphi-Edit Visual C++ - Edit Box |
Static Text | () | VB - Label BCB, Delphi - Label, StaticText Visual C++ -Static Text |
Slider | , - | VB - HScrollBar, VScrollBar BCB, Delphi- ScrollBar Visual C++ - Horizontal Vertical Scroll Bar |
Panel | , | VB - Frame BCB, Delphi - Frame, Panel, Group Box Visual C++ - |
|
|
Button Group | Radio Button Toggle Button | VB - Frame BCB, Delphi - Radio Group, Group Box Visual C++ - |
Listbox | , - | VB - ListBox , Delphi - ListBox Visual C++ - L i s t Box |
Popup Menu | VB -Menu Editor BCB, Delphi - PopMenu |
, . MATLAB 41 (. 2).
2.
BackgroundColor | ( [0.753 0.753 0.753]) | , - RGB- 0 1 | |||||
BeingDeleted | ( - o f f) | on (), o f f () | |||||
BusyAction | - - ( - - queue) | queue ( ), cancel () | |||||
ButtonDownFcn | " " | ||||||
Cdata | - t r u e c o l o r, - "" - | ||||||
Callback | - - Callback | ||||||
Children | |||||||
Clipping | ( - on) | on (), o f f () | |||||
CreateFcn | " " | ||||||
DeleteFcn | " " | ||||||
Enable | ( - on) | on ( ), o f f ( ) | |||||
Extent | |||||||
FontAngle | ( - - normal) | normal ( ), i t a l i c (), oblicue () | |||||
FontName | ( - MS Sans Serif) | , Windows | |||||
FontSize | () - | ||||||
( - - 8 ) | |||||||
FontUnits | ( - - points) | inches (), centimeters (), normalized, pixels (), points (, 1 = 1/72 ) | |||||
FontWeight | ( - - normal) | normal (), light (), demi (), bold () | |||||
ForegroundColor | ( - = [ 0. 0 0.0 0.0]) | RGB- | |||||
Handle Visibility | ( - - on) | on (), o f f ( ) | |||||
HitTest | ( - on) | on ( ), o f f ( ) | |||||
Horizontal Alignment | ( - center) | l e f t ( ), r i g h t ( ), center ( ) | |||||
Interruptible | ( - - on) | on ( ), o f f ( ) | |||||
KeyPr&ssFcn | " " , - | ||||||
ListBoxTop | - , ( - 0) | ||||||
Max | - Value ( - 1) | ||||||
Min | Value ( - 0) | ||||||
Parent | |||||||
Position | - , - , - | ||||||
Selected | on (), o f f ( ) | ||||||
Selection- Highlight | ( - | on (), o f f () | |||||
|
|
GUIDE,
- guide - GUIDE;
- Blank GUI (Default) , ;
- Tools GUI Options, Command-lime accessibility Callback (GUI becomes Curent Figure within Callbacks), Generate FIG-file and M-file , .
. 6. "Analyse" .