-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparam_vl4.m
98 lines (83 loc) · 3.32 KB
/
param_vl4.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
% PARAM_VL4
% Zadanie parametrov Strejcovho prenosu
% Volane z - PARAM_VL2, aj sa tam vrati
QK=K;
QT_km=T_km;
Qksi_km=ksi_km;
QD_km=D_km;
%------------------------------- K_km ----------------------------------------
QK_text = uicontrol(gcf,...
'Style','text',...
'Fontsize',[12],...
'ForegroundColor','black',...
'BackgroundColor',[fgcolor],...
'Fontweight','bold',...
'HorizontalAlignment','center',...
'Position',[20 190 80 25],...
'String',ptg_string(8,2,ptv_str_lang));
HK = uicontrol(gcf,...
'Tag','ptt_K',...
'Style','edit',...
'ForegroundColor','black',...
'Fontsize',[11],...
'BackgroundColor',[1 1 1],...
'String',num2str(QK) ,...
'Position',[102 190 80 25],...
'CallBack',['QK=str2num(get(gco,''String''));']);
%------------------------------- T_km ---------------------------------------
QT_text = uicontrol(gcf,...
'Style','text',...
'Fontsize',[12],...
'ForegroundColor','black',...
'BackgroundColor',[fgcolor],...
'Fontweight','bold',...
'HorizontalAlignment','center',...
'Position',[20 155 80 25],...
'String',ptg_string(8,7,ptv_str_lang));
HT = uicontrol(gcf,...
'Tag','ptt_T_km',...
'Style','edit',...
'ForegroundColor','black',...
'Fontsize',[11],...
'BackgroundColor',[1 1 1],...
'String',num2str(QT_km),...
'Position',[102 155 80 25],...
'CallBack',['QT_km=str2num(get(gco,''String''));']);
%----------------------------- ksi_km ------------------------------------------
Qksi_km_text = uicontrol(gcf,...
'Style','text',...
'Fontsize',[12],...
'ForegroundColor','black',...
'BackgroundColor',[fgcolor],...
'Fontweight','bold',...
'HorizontalAlignment','center',...
'Position',[20 120 80 25],...
'String',ptg_string(8,8,ptv_str_lang));
Hksi_km = uicontrol(gcf,...
'Tag','ptt_ksi_km',...
'Style','edit',...
'ForegroundColor','black',...
'Fontsize',[11],...
'BackgroundColor',[1 1 1],...
'String',num2str(Qksi_km),...
'Position',[102 120 80 25],...
'CallBack',['Qksi_km=str2num(get(gco,''String''));']);
%------------------------------ D_km ----------------------------------------
QD_text = uicontrol(gcf,...
'Style','text',...
'Fontsize',[12],...
'ForegroundColor','black',...
'BackgroundColor',[fgcolor],...
'Fontweight','bold',...
'HorizontalAlignment','center',...
'Position',[20 85 80 25],...
'String',ptg_string(8,9,ptv_str_lang));
HD = uicontrol(gcf,...
'Tag','ptt_D_km',...
'Style','edit',...
'ForegroundColor','black',...
'Fontsize',[11],...
'BackgroundColor',[1 1 1],...
'String',num2str(QD_km),...
'Position',[102 85 80 25],...
'CallBack',['QD_km=str2num(get(gco,''String''));']);