Main Content
Simulink.data.adapters.AdapterDataTester
Description
A Simulink.data.adapters.AdapterDataTester
object provides
functions for testing a custom external file adapter derived from the Simulink.data.adapters.BaseMatlabFileAdapter
base class.
Creation
Description
adapterTester = Simulink.data.adapters.AdapterDataTester(
creates a adapterObj
,source
,section
)Simulink.data.adapters
object that can test an instance of an
adapter derived from the Simulink.data.adapters.BaseMatlabFileAdapter
base class. With this adapter
tester you can test the getData
method for your custom file
adapter.
Input Arguments
Properties
Object Functions
clear | Clear variables from file adapter tester object |
readFromSource | Test custom file adapter by reading from source |
Examples
Version History
Introduced in R2022b