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 Comments

This is a Code error, probably because of the use of uninitialized variables.
how to resolve that error as im trying to Implement voltage based cell balancing using a buck-boost converter and the control logic is implemented using Stateflow in SIMULINK.

Sign in to comment.

Answers (2)

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.
TargetDeltaV is not defined. Meanwhile, you assign to DeltaV but do not use DeltaV in the code.

Categories

Find more on Automotive Applications in Help Center and File Exchange

Products

Release

R2023a

Asked:

on 16 Apr 2024

Answered:

on 19 Apr 2024

Community Treasure Hunt

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

Start Hunting!