In the release notes of the 23.0 is stated:
Fixed issue with slot labels not being remembered. If you set a slot label in FlexScript, and the script execution is not part of a simulation run (e.g. through a dashboard button, auto-build, executing script manually, etc.), then it will save that label value as its 'reset' label value, so that when you reset the model, it will stay at / go back to that value. Previously, labels that were set in script would be reset to nothing on reset.
But in the attached model (Slot labels deleted example.fsm), the labels are deleted at reset.
How should I avoid this deletion?
Thank you.