image thumbnail

isopen_system

version 1.0.0.0 (1.33 KB) by Per-Anders Ekstrom
True if simulink system is loaded

1.5K Downloads

Updated 05 Feb 2007

View License

ISOPEN_SYSTEM(SYS) returns logical 1 (true) if the simulink system SYS is loaded/open and logical 0 (false) otherwise.
Input SYS to function may be string or cell of strings, output will be corresponding sized array of logicals.

Example
isopen_system('mysys') returns 0
new_system('mysys')
isopen_system('mysys') returns 1
close_system('mysys')
isopen_system({'mysys','simulink'}) returns [0 1]

Cite As

Per-Anders Ekstrom (2021). isopen_system (https://www.mathworks.com/matlabcentral/fileexchange/13855-isopen_system), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!