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

조회 수: 5 (최근 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 CenterFile Exchange에서 Decision Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by