Using Simulink    
open_system

Open a Simulink system window or a block dialog box.

Syntax

Description

open_system('sys') opens the specified system or subsystem window.

open_system('blk'), where 'blk' is a full block pathname, opens the dialog box associated with the specified block. If the block's OpenFcn callback parameter is defined, the routine is evaluated.

open_system('blk', 'force'), where 'blk' is a full pathname or a masked system, looks under the mask of the specified system. This command is equivalent to using the Look Under Mask menu item.

Example

This command opens the controller system in its default screen location.

This command opens the block dialog box for the Gain block in the controller system.

See Also


 new_system replace_block