Need help on fixing Stateflow model.
Show older comments
Hello, I would appreciate if you help me on fixing my Stateflow model.
I am currently building a Stateflow model to control the amount of charging current flowing into a battery pack and control logic can be found in the following figure.

To achieve objective, I decided to use a Stateflow based model built as follows, but I contronted an error message shown below.

Variables used are listed and defined as below.

The model file is attached in here. I do appreciate your time on considering this issue.
PS: MATLAB R2021b
Accepted Answer
More Answers (0)
Categories
Find more on Decision Logic 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!