io.reader Class
Namespace: io
Base class used to define custom variable or file reader for Simulation Data Inspector
Since R2020b
Description
Use the io.reader
base class to specify how to import custom variable and
file formats into the Simulation Data
Inspector. Write a class definition file that uses the io.reader
methods to specify how to extract information like time and data values from the variable or
file. Use this syntax as the first line in the class definition file to inherit from the
io.reader
class, where MyReader
is the name of your
subclass:
classdef MyReader < io.reader
For an example that shows how to write and use a custom file reader, see Import Data Using Custom File Reader.
For an example that shows how to write and use a custom workspace data reader, see Import Workspace Variables Using a Custom Data Reader.
The io.reader
class is a handle
class.
Class Attributes
Abstract | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.
Properties
Methods
Version History
Introduced in R2020b