| Contents | Index |
| On this page… |
|---|
Use the following steps to add information to cells.
From the list box, select the type of information you want to add.
An edit box containing that information appears in the cell. (The edit boxes for your platform might look slightly different from those in the figure below.)

Note If you click the Add button and nothing happens, it might be because you did not select a cell first. |
For Text, type the text you want to include in that cell, for example, the name of your organization. Press the Enter key if you want to type additional text on a new line. Note that you can type special characters, for example, superscripts and subscripts, Greek letters, and mathematical symbols. For special characters, use embedded TeX sequences (see the text command String property (in Text Properties of the online documentation) for a list of allowable sequences). Click outside of the edit box when you are finished to end editing mode.
All of the items in the information list box, except for the Text item, are for adding variable information, which is supplied at the time of printing. When you print a block diagram with a print frame that contains variable information, the information for that particular block diagram prints in those fields.
The variable entries you can include are:
Block Diagram — This entry indicates where the block diagram is to be printed. Block Diagram is a mandatory entry. If Block Diagram is not in one of the cells, you cannot save the print frame and therefore cannot print a block diagram with it.
Date — The date that the block diagram and print frame are printed, in dd-mmm-yyyy format, for example, 05-Dec.-1997.
Time — The time that the block diagram and print frame are printed, in hh:mm format, for example, 14:22.
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.
Note: Adding the system name or file name does not mean that you can then specify a file name for the Simulink software or the Stateflow product in the PrintFrame Editor. It means that when you print a block diagram and specify that it print with a print frame, the system name or file name of the Simulink software or the Stateflow product block diagram is printed in the specified cell of the print frame. |
When you add a variable entry, a percent sign, %, is automatically included to identify the entry as variable information rather than a text string. In addition, the type of entry, for example, page, appears in angle brackets, < >. The entry consists of the entire string, for example, %<page>, for Page Number.
You can include multiple entries in one cell.
You can also type descriptive text to any of the variable entries without using the Text item in the information list box.
An edit box appears around the entry.
Note You cannot include multiple entries or text in the cell that contains the block diagram entry. %<blockdiagram> must be the only information in that cell. If there is any other information in that cell, you cannot save the print frame and therefore cannot print it with a block diagram. |
![]() | Creating Borders (Rows and Cells) | Changing Information in Cells | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |