how to open a block from Simulink at GUI

5 次查看(过去 30 天)
Hey, I'm creating a user interface with GUIDE of one Simulink model. So how to open this block (this block is at Simulink model):
when I click on this button in GUI:
Thanks.

回答(2 个)

Swarooph
Swarooph 2016-11-7
By open, do you mean the double clicking action on the model? If yes, you can use the open_system command. Example below:
open_system('my_model/block_name')
Take a look at the doc for more information.

Deividas Baranskas
Deividas Baranskas 2016-11-7
Thanks man, it helped :)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by