Simulink.sdi.getDataAccess
Get settings for streaming signal data to MATLAB callback function during simulation
Since R2026a
Syntax
Description
returns a structure with fields that indicate the data access settings for a signal
identified by the block path or handle and the port index.dataAccess = Simulink.sdi.getDataAccess(block,portIndex)
returns the data access settings for a signal specified using the output port handle.dataAccess = Simulink.sdi.getDataAccess(portHandle)
returns the data access settings for a signal specified using the line handle. dataAccess = Simulink.sdi.getDataAccess(lineHandle)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026a