getSectionNames
Class: Simulink.data.adapters.BaseMatlabFileAdapter
Namespace: Simulink.data.adapters
Syntax
sections = getSectionNames(adapterObj,sourceFile)
Description
returns the sections for the external source file. The default implementation returns the
adapter name. You can override this method to define logical sections for the data in the
external file.sections
= getSectionNames(adapterObj
,sourceFile
)
Custom file adapters must define behavior for the getAdapterName
,
getSupportedExtensions
, and getData
methods.
In addition, you can choose to override the isSourceValid
,
supportsReading
,
getSectionNames
, getCurrentChecksum
, open
, and close
methods.
Input Arguments
Output Arguments
Version History
Introduced in R2022b