"Execute At Initialization" Stateflow check
Show older comments
I have a Stateflow diagram where I need to initialize a few variables when the chart at the start. I am getting a warning about "Execute At Initialization", and I'd like to turn that check off. I'm not seeing where I can do that. I know it's pretty simple. Anyone????
Answers (1)
Ryan G
on 15 Jan 2013
0 votes
This warning appears to be what you are looking for.
2 Comments
John F
on 15 Jan 2013
Ryan G
on 15 Jan 2013
Is that diagnostic available anywhere in the Simulink configuration parameters? If not, you can try using the lastwarn function in MATLAB to suppress the warning. I'm not sure how well that method works along with Simulink tho.
Categories
Find more on Event Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!