Main Content
SS_OPTION_SIM_VIEWING_DEVICE
Indicate S-Function block is a SimViewingDevice
Description
Indicates the S-Function block referencing this S-function is
a SimViewingDevice
. As long as the block meets
the other requirements for a SimViewingDevice
,
i.e., no states, no outputs, etc., the Simulink® engine considers
the block to be an external mode block. As an external mode block,
the block appears in the external mode user interface and the Simulink
Coder™ product
does not generate code for it. During an external mode simulation,
the engine runs the block only on the host. See Use C/C++ S-Functions as Sim Viewing Devices in External Mode in Writing S-Functions
for more information.
Version History
Introduced in R2007b