Setting Stateflow Highlithing Colors Programmatically
Show older comments
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
on 11 Nov 2025
0 votes
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!