MATLAB Answers

How to add right click options in Simulink

28 views (last 30 days)
I have a subsystem and I want to add specific function( like copy the subsystem to a new model) at the right click. Is there way to do this.

  1 Comment

Venkat Kankata
Venkat Kankata on 14 Mar 2018
I am also interested in this question...will it possible..if u have more info plZzz share with me !!!

Sign in to comment.

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 3 Oct 2012
Edited: Kaustubha Govind on 7 Aug 2018
Please see Add Items to Model Editor Menus about adding items to the Simulink menu. I think you need the Simulink:PostContextMenu tag so you can add to the end of the context menu. You might need to examine the "callbackInfo" object to see if you can enable the menu callback only for subsystem blocks, because I don't think the Simulink:PostContextMenu tag is context-specific.

  4 Comments

Show 1 older comment
Venkat Kankata
Venkat Kankata on 14 Mar 2018
when i made right click on the simulink blocks,i will get options...i need to add one more option to the right click options...plZZ let me know if u have an idea about it...
RHYTHM GOYAL
RHYTHM GOYAL on 30 Jul 2018
I am also interested in this question. Please let me know if you got some answer to this.
Praveen Kumar
Praveen Kumar on 3 Dec 2019
cm means sl_customization_manager(instead of cm we can give ditrectly give this command)

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by