How to change color and style of a stateflow using m script?

4 Ansichten (letzte 30 Tage)
Monalisa Sarkar
Monalisa Sarkar am 25 Nov. 2021
How to change color and style of a stateflow using m script?

Antworten (1)

Muthukumar Ganesan
Muthukumar Ganesan am 13 Jul. 2022
Hi,
You can use this command:
set_param(<SFChartPath>,'ForegroundColor','Red');
set_param(<SFChartPath>,'FontName','Arial')
Note: Try this command to modify other parameters get(<ChartBlockHandle>)
Thanks

Kategorien

Mehr zu Stateflow finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by