How to add right click options in Simulink

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일

4 개 추천

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

Sunu
Sunu 2012년 10월 5일
I tried to see if the selected block is a subsystem and then enable the right click options..otherwise disable it. Thanks for help Kaustubha
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개)

카테고리

도움말 센터File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

제품

질문:

2012년 10월 3일

댓글:

2019년 12월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by