This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Specify a run naming rule





Simulink.sdi.setRunNamingRule(rule) specifies a template for naming a run in the Simulation Data Inspector.


collapse all

   'Run <run_index> : <model_name> : <sim_mode>');

After recording a run, in the Signal Browser table of the Simulation Data Inspector, the run appears with a name similar to the following:

Run 1 : slexAircraftExample : normal

Input Arguments

collapse all

A character vector using predefined tokens and regular characters to create a template for run names. The available tokens are

  • <run_index> — Sequential number of each run

  • <model_name> — Name of model

  • <time_stamp> — Run creation time

  • <sim_mode> — Simulation mode for recorded run

The tokens are contained within a character vector. For example:

Simulink.sdi.setRunNamingRule('Run <run_index> : <model_name>');


In the Simulation Data Inspector, on the Visualize tab, click Run Options. In the dialog box, enter a character vector in the Run naming rule box.

Introduced in R2011b

Was this topic helpful?