Main Content
open
Class: Simulink.data.adapters.BaseMatlabFileAdapter
Namespace: Simulink.data.adapters
Syntax
open(adapterObj,sourceFile,section)
Description
open(
executes when the connection to an external source file is first opened. By default, the
source file and section name are saved as the properties adapterObj
,sourceFile
,section
)source
and
section
in the adapter object.
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
Version History
Introduced in R2022b