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

4 次查看(过去 30 天)
How to change color and style of a stateflow using m script?

回答(1 个)

Muthukumar Ganesan
Muthukumar Ganesan 2022-7-13
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

类别

Help CenterFile Exchange 中查找有关 Stateflow 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by