isopen_system

True if simulink system is loaded
1.5K Downloads
Updated 5 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 (2024). 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
Categories
Find more on Programmatic Model Editing in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0