|On this page…|
You can add text or variables, or both, to a cell.
You must add a Block Diagram variable to one of the cells.
For details about the types of content, see:
The type of content that you added appears in the cell.
If you add text, select the edit box and type in the text. For details, see Text.
The new entry is added after the last entry in that cell.
You can also add descriptive text to any of the variable entries without using the Text item.
Use the Block Diagram variable to indicate the cell in which to print the block diagram. Every print frame must include one Block Diagram variable. If you do not specify a Block Diagram in one of the cells, you cannot save the print frame and cannot print a block diagram with it.
Do not add any other content in a cell that contains a Block Diagram variable.
In addition to the Block Diagram variable, you can add other variables, such as the current date, to cells. Simulink® supplies variable content at the time of printing.
Variable entries include:
Block Diagram — Add this variable in the cell in which you want the block diagram to print. For details, see Block Diagram.
Date — The date that the block diagram and print frame are printed, in dd-mmm-yyyy format.
Time — The time that the block diagram and print frame are printed, in hh:mm format.
Page Number — The page of the block diagram being printed.
Total Pages — The total number of pages being printed for the block diagram, which depends on the printing options specified.
System Name — The name of the block diagram being printed.
Full System Name — The name of the block diagram being printed, including its position from the root system through the current system, for example, engine/Throttle & Manifold.
File Name — The file name of the block diagram, for example, sldemo_engine.mdl.
Full File Name — The full path and file name for the block diagram, for example, \\matlab\toolbox\simulink\simdemos\automotive\sldemo_engine.mdl.
When you enter a variable, the cell displays the type of content in brackets, <>, preceded by a percent sign, %. For example, if you add a Page Number variable, it appears as %<page>.
For Text content, type the text that you want to include in that cell (for example, the name of your organization). To type additional text on a new line, press the Enter key. When you are finished editing, click outside of the edit box.
You can copy and paste text from another document into a cell. Any formatting of the copied text is lost.
To type special characters (for example, superscripts and subscripts, Greek letters, and mathematical symbols), use embedded TeX sequences. For a list of allowable sequences, see the text command String property (in Text Properties).
You can align cell contents using the left, center, and right alignment buttons. (Block diagrams are always center aligned.)
You can change font properties, such as size or style (for example, italics or bold). To change font properties, select the cell, then right-click the contents and use the context menu to format the text.