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

Antworten (1)

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 Hilfe-Center und File Exchange

Gefragt:

am 25 Nov. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by