Open a masked subsystem (look under mask) in command line

39 ビュー (過去 30 日間)
langrg
langrg 2022 年 4 月 20 日
コメント済み: langrg 2022 年 4 月 21 日
Hello,
Does anyone know how to open a masked Simulink subsystem from Matlab? I mean, what is the command line equivalent to "look under mask"?
I have tried "open_system(gcb)" but it opens the mask dialog box...
GL.

採用された回答

Fangjun Jiang
Fangjun Jiang 2022 年 4 月 21 日
open_system(blk,'force') looks under the mask of a masked block or subsystem. It opens the dialog box of the block under the mask or opens amasked subsystems in a new Simulink Editor tab. This is equivalent to the Look Under Mask menu item. Before opening a specific subsystem or block, load the model or library containing it. Otherwise Simulink returns an error.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by