Main Content

dialog

Open properties dialog box

Description

example

dialog(object) opens the properties dialog box of an object.

Examples

collapse all

Open a Simulink® model called myModel. Suppose that the model contains a Stateflow® chart named My Chart.

open_system('myModel')

Access the Simulink.Root object at the top level of the Stateflow hierarchy.

rt = sfroot;

Find the chart named My Chart.

ch = find(rt,'-isa','Stateflow.Chart','Name','My Chart');

Open the properties dialog box for the chart.

dialog(ch);
Introduced before R2006a