hi everyone, what is meaning of this part of program?(CAN YOU WRİTE ANY COMMENT(S))

1 view (last 30 days)
global nfile Qamp_mv Ramp_mv Samp_mv Tamp_mv P_1 Pamp_mv A flag c
if flag==4
set(handles.q,'string',['Q=' num2str(Qamp_mv)])
set(handles.p,'string',['P=' num2str(Pamp_mv)])
set(handles.r,'string',['R=' num2str(Ramp_mv)])
set(handles.s,'string',['S=' num2str(Samp_mv)])
set(handles.t,'string',['T=' num2str(Tamp_mv)])
set(handles.textll,'string',['PERSON HEALT:-' P_1])
else
errordlg('Calculate values/apply wavelet')
end

Answers (1)

Tamir Suliman
Tamir Suliman on 4 Dec 2016
global nfile Qamp_mv Ramp_mv Samp_mv Tamp_mv P_1 Pamp_mv A flag c % Define global variables.
if flag==4 % Condition if flag==4
%%Setting handles q p r s t assigns the specified value of the handles to the specified property Q P
set(handles.q,'string',['Q=' num2str(Qamp_mv)])
set(handles.p,'string',['P=' num2str(Pamp_mv)])
set(handles.r,'string',['R=' num2str(Ramp_mv)])
set(handles.s,'string',['S=' num2str(Samp_mv)])
set(handles.t,'string',['T=' num2str(Tamp_mv)])
set(handles.textll,'string',['PERSON HEALT:-' P_1])
else
errordlg('Calculate values/apply wavelet') % Create error dialog box
end

Categories

Find more on ECG / EKG in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!