close_system
Close万博1manbetxsystem window or block dialog box
Syntax
Description
close_system
closes the current system or subsystem. If the current system is the top-level model and has been modified,close_system
returns an error.
Use thegcs
function to determine the current system.
Note
You cannot useclose_system
in a block or menu callback to close the root-level model. Attempting to close the root-level model in a block or menu callback causes an error and discontinues the callback execution.
close_system(
closes the specified model or subsystem, or the block dialog box of the specified block. If the model was only loaded, that is, withblockOrSys
)load_system
, this syntax clears the model from memory.
close_system(
specifies additional options using one or moresys
,___,Name,Value
)Name,Value
pair arguments.