"Execute At Initialization" Stateflow check

조회 수: 1 (최근 30일)
John F
John F 2013년 1월 15일
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????

답변 (1개)

Ryan G
Ryan G 2013년 1월 15일
This warning appears to be what you are looking for.
  댓글 수: 2
John F
John F 2013년 1월 15일
I don't have a Stateflow Diagnostics pane in R2010a. The documentation link you show does not exist in the R2010a help.
Ryan G
Ryan G 2013년 1월 15일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by