Main Content

Simulink.io.FileType.getFileTypeDescription

Class: Simulink.io.FileType
Namespace: Simulink.io

Get custom file reader description

Since R2020a

Syntax

FileReaderDescription = getFileTypeDescription()

Description

FileReaderDescription = getFileTypeDescription() returns the file reader description.

Output Arguments

expand all

FileType description, returned as a character array. When writing the file type description, consider describing the data layout of the file.

Examples

expand all

Subclass FileType class and implement the getFileTypeDescription method.

classdef MySignalMatFile < Simulink.io.FileType

Implement the static method getFileTypeDescription.

methods ( Static )
        
        function aFileReaderDescription = getFileTypeDescription( )
            
            aFileReaderDescription = ['Return a char array describing your reader.'];
        end
        
    end

Version History

Introduced in R2020a