Main Content

Register custom file adapter

Since R2022b


    example registers the custom external file adapter class adapterClassName, which is derived from the base class. The adapter registration can be added to a startup script so that the adapter is available for each MATLAB® session.


    collapse all

    Register the XML file adapter XMLAdapter to make it available during the MATLAB session.'XMLAdapter');

    Input Arguments

    collapse all

    File adapter class name, specified as a string or character array.

    Example: 'adapterName'

    Data Types: char | string

    Version History

    Introduced in R2022b