How can I access a MATLAB string variable within a Stateflow chart in MATLAB R2026a?
Show older comments
I'm working with Stateflow in MATLAB R2026a and have defined a MATLAB string variable outside of the chart (e.g., in the base workspace). I'd like to use this variable within the chart, but the Stateflow String Limitations documentation mentions that Stateflow parameter data cannot be of type string.
How can I access the MATLAB string variable within the chart?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Functions 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!