How to add right click options in Simulink
33 views (last 30 days)
Kaustubha Govind on 3 Oct 2012
Edited: Kaustubha Govind on 7 Aug 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.