Problem with stateflow converting from R2017b to R2022b

2 vues (au cours des 30 derniers jours)
Thor
Thor le 21 Déc 2023
I convertered a large chunk of simulink code from R2017b Matlab to R2022b. In doing so I recieved no warnings or errors with the conversion process. After setting up a test scenario for the code I get the error seen in 'Error.PNG' When I try to open the Stateflow model I get the popup warning 'Popup.PNG'. I can go into the explorer, and all parameters are there. The Mask correctly calls out all internal parameters, but I am unsure of other root causes. I can get into the stateflow logic from the error link, and the logic internal to the stateflow seems correct to the original code. It appears something with creating a mask for this stateflow block breaks when converting from the original R2017b to R2022b code. I have converted twice to make sure it wasnt a one time conevrsion issue, and the same problem was reproducable.
  3 commentaires
Arka
Arka le 26 Déc 2023
Modifié(e) : Arka le 26 Déc 2023
Hi @Thor,
Without the sample model, it will be difficult to understand where the issue lies. Could you kindly share the same (or a dummy model which helps to reproduce the issue)?
Teresa Hubscher-Younger
Teresa Hubscher-Younger le 11 Jan 2024
Hi,
This might be obvious, but it's worth asking. Did you run the Upgrade Advisory before converting? https://www.mathworks.com/help/simulink/ug/consult-the-upgrade-advisor.html
-Teresa

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by