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]
Zitieren als
Per-Anders Ekstrom (2026). isopen_system (https://de.mathworks.com/matlabcentral/fileexchange/13855-isopen_system), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2006a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Programmatic Model Editing finden Sie in Help Center und MATLAB Answers
Tags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
