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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |