qbtnkill.m

来自「机器人控制仿真程序一书的所有源代码」· M 代码 · 共 22 行

M
22
字号
function qbtnkill
% QBTNKILL Remove button down functions. (Utility Function)
%          QBTNKILL resets the button down function of all line objects to
%          the null setting ''.

% Author: Craig Borghesani
% 5/12/93
% Copyright (c) 1995-98 by The MathWorks, Inc.
%       $Revision: 1.4 $


f2=gcf;
f=get(f2,'userdata');
bthan=get(f,'userdata');
a=gca;
han = get(bthan(26),'userdata');

sel_mat = get(han(6),'userdata');
sz=size(sel_mat);

set(sel_mat(2:3:sz(1),2),'buttondownfcn','');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?