(Not recommended) Set the simulation state of the MATLAB S-function by restoring the SimState.
SetSimState is not recommended. Use
Simulink.MSFcnRunTimeBlockclass representing the Level-2 MATLAB S-Function block.
The MATLAB® data of type returned by
The Simulink® engine invokes this custom method at the beginning of a simulation of the
S . Simulink sets the initial simulation state of the
S-function to the SimState of the model.
Introduced in R2012b