how to resolve that error?

2 views (last 30 days)
Engr.
Engr. on 21 Apr 2024
Answered: Jaimin on 2 Sep 2024
how to resolve that error?

Answers (2)

Joshua Levin Kurniawan
Joshua Levin Kurniawan on 21 Apr 2024
In StateFlow, you need to define all of the variables. From what I see from the figure, you seems like to forgot assign variable BalCmd, Cell_Voltages, MaxV, and MinV. Please make sure that you have a fully defined set of variables in the Chart.

Jaimin
Jaimin on 2 Sep 2024
I understand that running the Stateflow chart results in an "unresolved symbols" error.
To resolve this error, as @Joshua Levin Kurniawan points out, some variables have not been declared. Additionally, make sure that the "class" and "scope" for each variable are correctly defined.
For additional details, please refer to this MathWorks documentation:
Manage Symbols in the Stateflow Editor:
I hope this is helpful

Categories

Find more on Complex Logic in Help Center and File Exchange

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!