How can i change a subblock as a source for a help description?

I opened a Matlab example by typing open_system('sldemo_autotrans'). In this model i could not understand how the '?' is used to display the help contents. I could only know that the masking is used to display the '?' on the block but dont know how it was possible when double clicked displays the help context.
I would be happy, if anyone would help me regarding the solution.

Answers (2)

  • write any text you want in your model
  • select your text and right click on it then click annotation properties
  • a windows will appear. under use display text as click callback (let it unchecked) write any matlab command you want e.g: help mean
Thank you for your help. I would like to change the sub-system block as the source where if you double click would lead to help browser and in this opened help browser displays automatically the topic you would like to display (specially your own edited text or description about the model). An example is like the example model available with matlab, open_system('sldemo_autotrans'), where the sub-system block, when double clicked opens the help browser. Thank you for the solution with the text block but would rather like to have with subsystem.

1 Comment

I 've said that you can write any command you want: display text, run a file, or whatever you want.
what do you mean by "would rather like to have with subsystem"

This question is closed.

Asked:

on 26 Oct 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!