Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this 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?