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]
Citar como
Per-Anders Ekstrom (2025). isopen_system (https://www.mathworks.com/matlabcentral/fileexchange/13855-isopen_system), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2006a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Programmatic Model Editing en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |