MATLAB Answers

how to open a block from Simulink at GUI

21 views (last 30 days)
Deividas Baranskas
Deividas Baranskas on 6 Nov 2016
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.

  0 Comments

Sign in to comment.

Answers (2)

Swarooph
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')
Take a look at the doc for more information.

  0 Comments

Sign in to comment.


Deividas Baranskas
Deividas Baranskas on 7 Nov 2016
Thanks man, it helped :)

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags

Products