Changes in Stateflow Subcharts Won't Save

1 Ansicht (letzte 30 Tage)
Mike Sprengel
Mike Sprengel am 17 Nov. 2020
Kommentiert: Mike Sprengel am 17 Nov. 2020
I just upgraded to 2020b and now it appears I am unable to save certain changes to subcharts within Stateflow, details:
  • Changes in text-based code on the top level of the chart save.
  • Changes in the stateflow structure (e.g. adding a new state) within a subchart save.
  • Changes in text-based code in a subchart reverts back to its original form after saving and restarting.
I originally built the model in 2017a and it functioned correctly before upgrading.
Currently installed toolboxes:
MATLAB Version 9.9 (R2020b)
Simulink Version 10.2 (R2020b)
Embedded Coder Version 7.5 (R2020b)
MATLAB Coder Version 5.1 (R2020b)
MATLAB Compiler Version 8.1 (R2020b)
MotoHawk Code Generation Toolbox Version 2020b_beta3.2704
Simulink Coder Version 9.4 (R2020b)
Stateflow Version 10.3 (R2020b)
I’ve tried to reimport the chart from a working 2017a version but it didn’t fix the issues. Anyone have any ideas on how to correct this?
  1 Kommentar
Mike Sprengel
Mike Sprengel am 17 Nov. 2020
After further review it does not appear that Stateflow is detecting a change in the model when I modify the text within a subchart (an asterisk is not added after the model name). I can get around this by right clicking on the state, going into properties, and modifying the label text. Looks like it may be a bug in the code.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by