Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

infoImpl

Class: matlab.System
Package: matlab

Information about System object

Syntax

s = infoImpl(obj)

Description

s = infoImpl(obj) specifies information about the current configuration of a System object™. This information is returned in a struct from the info method. 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.

    Note:   You must set Access = protected for this method.

Input Arguments

obj

System object

Examples

expand all

Define the infoImpl method to return current count information.

methods (Access = protected)
   function s = infoImpl(obj)
      s = struct('Count',obj.Count);
   end
end
Was this topic helpful?