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

2 ビュー (過去 30 日間)
Monalisa Sarkar
Monalisa Sarkar 2021 年 11 月 25 日
回答済み: Muthukumar Ganesan 2022 年 7 月 13 日
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 Center および File ExchangeStateflow についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by