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 CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

제품


릴리스

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by