simulink.compiler.setExternalOutputsFcn
R2026bRegister callback function to read and process data for top-level output ports during simulation
Description
simin = simulink.compiler.setExternalOutputsFcn(
registers simin,func)func as the external outputs callback function on the
Simulink.SimulationInput object simin. The external
outputs function dynamically processes top-level output port data during simulation. The
simulation executes the function after each time step and provides the output port data as
input to the function.
Input Arguments
Version History
Introduced in R2020b