|On this page…|
You can enter comments or notes in any location on the chart.
You can use the Note properties dialog box to edit note properties.
The General tab of the Note properties dialog box contains the following properties:
The label for the note. This includes the name of the note and its associated actions.
|Specifies MATLAB® code to be executed when a user single-clicks this annotation. The model stores the code entered in this field.|
Use display text as click callback
|Checking this option causes a Simulink® model to treat the text in the Text field as the note's click function. The specified text must be a valid MATLAB expression comprising symbols that are defined in the MATLAB workspace when the user clicks this annotation. Selecting this option disables the ClickFcn edit field.|
The Documentation tab of the Note properties dialog box contains the following properties:
Enter a URL address or a general MATLAB command. Examples are www.mathworks.com, mailto:email_address, and edit /spec/data/speed.txt.
See Annotation Callback Functions in the Simulink documentation for a description of the ClickFcn edit field.
To change font and color for your chart notes, follow the procedures described in the section Specify Colors and Fonts in a Chart.
You can also change your note text to bold or italic:
In your notes, you can use a subset of TeX commands embedded in the string to produce special characters. For example, you can embed Greek letters and mathematical symbols.