Stateflow Interface Lag While Editing

1 view (last 30 days)
Andrew
Andrew on 26 Mar 2019
Commented: Andrew on 4 Apr 2019
I have a fairly large stateflow chart with many subcharts. Whenever I enter a subchart (while editing, not running), Staflow seems to lag out for almost 10 seconds. Has anyone else experianced this?
My guess is that this is due to stateflow tracing the chart for unreachable states or other error. Is there a way to turn off Stateflow's error checking that occurs each time you enter a new subsystem?

Accepted Answer

Vignesh
Vignesh on 1 Apr 2019
This could be annoying. What version of MATLAB/Stateflow are you currently using? To answer your other question, you can turn off error checking by unchecking Display --> Errors/Warnings
  1 Comment
Andrew
Andrew on 4 Apr 2019
I'm using Matlab 2016b.
I found the Display --> Errors/Warnings feature. I think it still checks but just doesn't display the results. Large portions of the model I was using were incomplete and full of issues (transition shadowing, unreachable states, etc). Once i went through and manually fixed all the error, the lag time went away completely.

Sign in to comment.

More Answers (0)

Categories

Find more on Stateflow 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!