forked from bw1129/PIDtoolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PTfiltDelay.m
12 lines (10 loc) · 1.56 KB
/
PTfiltDelay.m
1
2
3
4
5
6
7
8
9
10
11
12
%% PTfiltDelay - update filter delay calcs
% ----------------------------------------------------------------------------------
% "THE BEER-WARE LICENSE" (Revision 42):
% <[email protected]> wrote this file. As long as you retain this notice you
% can do whatever you want with this stuff. If we meet some day, and you think
% this stuff is worth it, you can buy me a beer in return. -Brian White
% ----------------------------------------------------------------------------------
guiHandlesSpec.AphasedelayText2 = uicontrol(PTspecfig,'style','text','string',['Gyro: ' PhaseDelay_A{get(guiHandlesSpec.FileSelect{2}, 'Value')} 'ms, Dterm: ' PhaseDelay2_A{get(guiHandlesSpec.FileSelect{2}, 'Value')} 'ms'],'fontsize',fontsz*.9,'TooltipString', [TooltipString_phase],'units','normalized','BackgroundColor',bgcolor,'Position',[posInfo.AphasedelayText2]);
guiHandlesSpec.AphasedelayText3 = uicontrol(PTspecfig,'style','text','string',['Gyro: ' PhaseDelay_A{get(guiHandlesSpec.FileSelect{3}, 'Value')} 'ms, Dterm: ' PhaseDelay2_A{get(guiHandlesSpec.FileSelect{3}, 'Value')} 'ms'],'fontsize',fontsz*.9,'TooltipString', [TooltipString_phase],'units','normalized','BackgroundColor',bgcolor,'Position',[posInfo.AphasedelayText3]);
guiHandlesSpec.AphasedelayText4 = uicontrol(PTspecfig,'style','text','string',['Gyro: ' PhaseDelay_A{get(guiHandlesSpec.FileSelect{4}, 'Value')} 'ms, Dterm: ' PhaseDelay2_A{get(guiHandlesSpec.FileSelect{4}, 'Value')} 'ms'],'fontsize',fontsz*.9,'TooltipString', [TooltipString_phase],'units','normalized','BackgroundColor',bgcolor,'Position',[posInfo.AphasedelayText4]);