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!