gui_readselect.m

来自「gps“可用性”matlab代码 Matlab Algorithm Avail」· M 代码 · 共 24 行

M
24
字号
function iselect = gui_readselect(objlist)%*************************************************************************%*     Copyright c 2001 The board of trustees of the Leland Stanford     *%*                      Junior University. All rights reserved.          *%*     This script file may be distributed and used freely, provided     *%*     this copyright notice is always kept with it.                     *%*                                                                       *%*     Questions and comments should be directed to Todd Walter at:      *%*     twalter@stanford.edu                                              *%*************************************************************************%% function iselect = gui_readselect(objlist)%% Returns the index of the selected option/s (Value field = 1) % in a list of object handlesiselect=[];  for i = 1:length(objlist),    if get(objlist(i),'Value')==1,        iselect = [iselect,i];    endend

⌨️ 快捷键说明

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