Problem with stateflow converting from R2017b to R2022b
2 views (last 30 days)
Show older comments
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 Comments
Teresa Hubscher-Younger
on 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
Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!