how to resolve that error?

2 ビュー (過去 30 日間)
Engr.
Engr. 2024 年 4 月 21 日
回答済み: Jaimin 2024 年 9 月 2 日
how to resolve that error?

回答 (2 件)

Joshua Levin Kurniawan
Joshua Levin Kurniawan 2024 年 4 月 21 日
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 2024 年 9 月 2 日
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

カテゴリ

Help Center および File ExchangeComplex Logic についてさらに検索

製品


リリース

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by