how to resolve that error?
2 次查看(过去 30 天)
显示 更早的评论
回答(2 个)
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.
0 个评论
Jaimin
2024-9-2
Hi @Engr.
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
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!