MATLAB Answers

How to add right click options in Simulink

36 ビュー (過去 30 日間)
Sunu 2012 年 10 月 3 日
コメント済み: Praveen Kumar 2019 年 12 月 3 日
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 件のコメント
Praveen Kumar
Praveen Kumar 2019 年 12 月 3 日
cm means sl_customization_manager(instead of cm we can give ditrectly give this command)


その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by