how to resolve that error?

답변 (2개)

Joshua Levin Kurniawan
Joshua Levin Kurniawan 2024년 4월 21일

2 개 추천

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일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Stateflow에 대해 자세히 알아보기

제품

릴리스

R2008a

질문:

2024년 4월 21일

답변:

2024년 9월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by