How to add right click options in Simulink

13 次查看(过去 30 天)
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 个评论
Venkat Kankata
Venkat Kankata 2018-3-14
I am also interested in this question...will it possible..if u have more info plZzz share with me !!!

请先登录,再进行评论。

采纳的回答

Kaustubha Govind
Kaustubha Govind 2012-10-3
编辑:Kaustubha Govind 2018-8-7
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 个评论
RHYTHM GOYAL
RHYTHM GOYAL 2018-7-30
I am also interested in this question. Please let me know if you got some answer to this.
Praveen Kumar
Praveen Kumar 2019-12-3
cm means sl_customization_manager(instead of cm we can give ditrectly give this command)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by