MATLAB Answers

How to add right click options in Simulink

37 ビュー (過去 30 日間)
Sunu
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 件のコメント

表示 1 件の古いコメント
Venkat Kankata
Venkat Kankata 2018 年 3 月 14 日
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 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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by