what type of error is this? is this the logical error, simulation error, code error?
2 次查看(过去 30 天)
显示 更早的评论
what type of error is this? is this the logical error, simulation error, code error?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1670311/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1670311/image.jpeg)
3 个评论
Infinite_king
2024-4-16
This is a Code error, probably because of the use of uninitialized variables.
回答(2 个)
Dallas Perkins
2024-4-19
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.
0 个评论
Walter Roberson
2024-4-19
TargetDeltaV is not defined. Meanwhile, you assign to DeltaV but do not use DeltaV in the code.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Oil, Gas & Petrochemical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!