why stateflow chart getting corrupted?

12 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar el 4 de Sept. de 2020
i have found the answer by myself.
dont use save_system(gcs) in closeFcn.
Hope this answer will benifit someone.
Thanks

Más respuestas (0)

Categorías

Más información sobre Complex Logic en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by