matlab.System.infoImpl - Information about System object - MATLAB (original) (raw)
Main Content
Class: matlab.System
Information about System object
Syntax
infoStruct = infoImpl(obj)
Description
[infoStruct](#mw%5Fcd0f1492-f19b-4fa3-a8ef-8b3af766cb8e) = infoImpl([obj](#bt9kz17-1%5Fsep%5Fmw%5F353aa417-3412-46f8-81f1-586adf7da5a8))
specifies information about the current configuration of a System object™. This information is returned in a struct from the info
object function. The default infoImpl
method, which is used if you do not include infoImpl
in your class definition file, returns an empty struct.
Run-Time Details
infoImpl
is called by the info
object function.
Method Authoring Tips
You must set Access = protected
for this method.
Input Arguments
obj
— System object
System object
System object handle used to access properties, states, and methods specific to the object. If your infoImpl
method does not use the object, you can replace this input with ~
.
Output Arguments
infoStruct
— Information about the System object
struct
Information about the System object's current configuration returned as a struct.
Examples
Specify Current System object Information
Define the infoImpl
method to return current count information.
methods (Access = protected) function s = infoImpl(obj) s = struct('Count',obj.Count); end end
Version History
Introduced in R2014a