Detect change between two stateflow

1 Ansicht (letzte 30 Tage)
Theo Grancher
Theo Grancher am 19 Okt. 2022
Kommentiert: Fangjun Jiang am 20 Okt. 2022
I would like to determine if two state machines are different. I would like to be able to analyze their content for example because parameters accessible from a get_param() are not enought.
Is there a unique identifier for the state machines which increments when modified or even a state machine version number?
Thanks in advance

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 19 Okt. 2022
  4 Kommentare
Theo Grancher
Theo Grancher am 20 Okt. 2022
The two model are open and in front of me and I'd like to see without looking inside chart block if there is a change. Maybe with a version parameter or a last save date...
Fangjun Jiang
Fangjun Jiang am 20 Okt. 2022
I don't think there is a practical solution for it now. Version parameter and save date, or the dirty flag, only applies to the model, not to a block. I checked the callback function, there is no such a function related to this, for example, 'ChangeFcn'.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Complex Logic finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by