why stateflow chart getting corrupted?

조회 수: 12 (최근 30일)
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020년 9월 3일
Hello all,
i added some new variables in the chart before the model i simulated.once done with the simulation i closed the model and opened it again.
My chart changes to s function and "Cannot open corrupted Stateflow block Chart" this message appears in the command window.
can someone let me know why the chart is getting corrupted?
Thanks in advance,
Ajay Krishna

채택된 답변

Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020년 9월 4일
i have found the answer by myself.
dont use save_system(gcs) in closeFcn.
Hope this answer will benifit someone.
Thanks

추가 답변 (0개)

카테고리

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