How to add right click options in Simulink

14 visualizzazioni (ultimi 30 giorni)
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 Commento
Venkat Kankata
Venkat Kankata il 14 Mar 2018
I am also interested in this question...will it possible..if u have more info plZzz share with me !!!

Accedi per commentare.

Risposta accettata

Kaustubha Govind
Kaustubha Govind il 3 Ott 2012
Modificato: Kaustubha Govind il 7 Ago 2018
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 Commenti
RHYTHM GOYAL
RHYTHM GOYAL il 30 Lug 2018
I am also interested in this question. Please let me know if you got some answer to this.
Praveen Kumar
Praveen Kumar il 3 Dic 2019
cm means sl_customization_manager(instead of cm we can give ditrectly give this command)

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink Environment Customization in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by