Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

How to generate the user defined option while right clicking the simulink model blocks?

Asked by Suresh on 29 Jun 2013

dear Sir/Madam,

I have to execute my m script. But this has to be executed whenever i select the particular model block and while right clicking the block and the user defined options below the "help" option should be made available. For eg., there should be an option like "run" below the existing "help". Once i click this my m script should execute. Is there anyway to bring this? Because this gives us user friendliness to run my m script. Kindly share your suggestion on this.

1 Comment

Kaustubha Govind on 1 Jul 2013

I don't think your question is clear. Do you mean that you are using a MATLAB Function block in your Simulink model and you want to run the MATLAB code from your model?

Suresh

Products

0 Answers

Contact us