gusucode.com > datatypes 工具箱matlab源码程序 > datatypes/@tabular/private/iscolon.m
function tf = iscolon(indices) %ISCOLON Check if a set of variable or indices is ':'. % Copyright 2012-2015 The MathWorks, Inc. % Check ischar first to reject 58 and {':'}. tf = ischar(indices) && isscalar(indices) && indices == ':';