how to open a block from Simulink at GUI
Show older comments
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.
Answers (2)
Swarooph
on 7 Nov 2016
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')
Deividas Baranskas
on 7 Nov 2016
0 votes
Categories
Find more on Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!