This class is written to serve as a template for implementing classes inheriting from mic.abstract. This class also serves as a template for the basic functions such as exportState and funcTest.
- Description: Name of the instrument.
- Default Value:
'SimulatedInst'
- Description: Minimum power setting for the instrument.
- Default Value:
0.5
- Description: Maximum power setting for the instrument.
- Default Value:
2
- Description: Current power setting of the instrument.
- Description: Current wavelength setting of the instrument.
- Description: Holds the result data or status of the instrument's operation.
Hidden Properties
- Description: Indicates whether the graphical user interface (GUI) starts automatically.
- Default Value:
true
- Description: Constructor method for the
simulated_Instrument
class. - Calls the superclass constructor to auto-name the object using
mic.abstract
. - Automatically launches the GUI upon instantiation.
- Description: Exports the current state of the instrument.
- Returns:
Attributes
: A struct containingInstrumentName
.Data
: An empty struct for storing data (can be customized further).Children
: An empty struct for storing child elements.
- Description: Tests all functionality of the instrument methods and verifies object creation and deletion.
- Creates an instance of
simulated_Instrument
. - Exports and displays the state.
- Cleans up after testing.
mic.abstract.m MATLAB software version R2016b or later