Main Content
isSourceValid
Class: Simulink.data.adapters.BaseMatlabFileAdapter
Namespace: Simulink.data.adapters
Syntax
tf = isSourceValid(adapterObj,sourceFile)
Description
validates the external source file. The default implementation validates that the source file
exists.tf
= isSourceValid(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