www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcfoundation/@requestcounter/add.m
function add(obj, request) %ADD Add another request for a named item % % ADD(OBJ, REQUEST) increments the counter associated with the string % REQUEST. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if isprop(obj, request) obj.(request) = obj.(request) + 1; else schema.prop(obj, request, 'int'); obj.(request) = 1; end