Customizing Simulink block diagram options

Asked by Michael Joslin on 27 Jun 2012
Latest activity Answered by Kaustubha Govind on 27 Jun 2012

I want to add some custom options to my simulink models. I want to be able to right click on a simulink subsystem and have some options that I have defined available. I know that to add to the Tools menu you should use:

cm.addCustomMenuFcn('Simulink:ToolsMenu', @getMyMenuItems);

Along with the other necessary functions and schemas but what is the syntax for adding options to the menu that appears when you right click in a simulink model?

0 Comments

Michael Joslin

Tags

Products

1 Answer

Answer by Kaustubha Govind on 27 Jun 2012

It doesn't look like you can customize context (right-click) menus at this point. As per the documentation, you can only customize the Editor menu, Library Browser and Dialog Box controls. I would recommend confirming this limitation with MathWorks Tech Support and submit an enhancement request.

0 Comments

Kaustubha Govind

Contact us