How to add right click options in Simulink

조회 수: 26(최근 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