Main Content

Simulink.io.FileType.getFileTypeDescription

Class: Simulink.io.FileType
Package: Simulink.io

Get custom file reader description

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
Introduced in R2020a