alterratemenu.m
来自「matlab关联规则源码」· M 代码 · 共 29 行
M
29 行
%-------------------------------------------------------------------------------------
%ARMADA - Association Rule Mining And Deduction Analysis
%Desciprtion: Data Mining Tool for extraction of association rules and analysis
% of deduction methods.
%Author&
%Copyright: James Malone
%Date: 14/04/03
%Version: 1.2
%-------------------------------------------------------------------------------------
%------------------------------------------------------------------------
%Function to alter 'Enable' status of sampler rate box, depending upon
%whether or not the sampler_switch has been selected to sample data
function alterRateMenu()
%Get value of sampler_switch which is being altered
sampler_switch = get(gcbo,'Value');
rate_object = findobj(gcbf,'Tag','sampler_rate');
%If switch requires sampling rate box, then activate
if (sampler_switch == 2 | sampler_switch == 3)
set(rate_object,'Enable','On');
%else make default inactive
else
set(rate_object,'Enable','Off');
end
%End Function------------------------------------------------------------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?