s = infoImpl(obj,varargin)
s = infoImpl(obj,varargin) lets you set up information to return about the current configuration of a System object™ obj. This information is returned in a struct from the info method. The varargin argument is optional. The default infoImpl method, which is used if you do not include infoImpl in your class definition file, returns an empty struct.
infoImpl is called by the info method.
Define the infoImpl method to return current count information for info(obj).
methods (Access = protected) function s = infoImpl(obj) s = struct('Count',obj.pCount); end end