what type of error is this? is this the logical error, simulation error, code error?
显示 更早的评论
what type of error is this? is this the logical error, simulation error, code error?

3 个评论
Fangjun Jiang
2024-4-16
syntax errors
Infinite_king
2024-4-16
This is a Code error, probably because of the use of uninitialized variables.
Engr.
2024-4-18
回答(2 个)
Dallas Perkins
2024-4-19
0 个投票
Hi Engr,
This means that Stateflow cannot automatically resolve what type of data is present in your chart. If you open the symbols pane from the Modeling tab you should see warnings for the unresolved variables. From there you should be able to specify whether it is input data, output data, etc.
Also, if you are working with battery management systems I would highly recommend taking a look at Simscape Battery - it has a number of prebuilt BMS algorithms that might be of use.
Walter Roberson
2024-4-19
0 个投票
TargetDeltaV is not defined. Meanwhile, you assign to DeltaV but do not use DeltaV in the code.
类别
在 帮助中心 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!