Setting Stateflow Highlithing Colors Programmatically

12 views (last 30 days)
Ilja
Ilja on 5 Nov 2025 at 9:58
Answered: Leepakshi on 11 Nov 2025 at 16:24
According to https://www.mathworks.com/help/stateflow/ref/stateflow.resetsyntaxhighlightingcolors.html it is possible to reset the highlighting colors to default since R2025a. Is there a way to programmatically edit those highlighting colors?
Context:
I am creating custom syntax highlighting theme for Stateflow and wanted to save the settings programmatically.

Answers (1)

Leepakshi
Leepakshi on 11 Nov 2025 at 16:24
Hi Ilja,
As far as I can see in documentation, there is no way to reset highlighting colors programatically. All the possible ways to do so has been listed in documentation https://www.mathworks.com/help/stateflow/ref/stateflow.resetsyntaxhighlightingcolors.html#d126e10584

Categories

Find more on Decision Logic in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!