Effacer les filtres
Effacer les filtres

what type of error is this? is this the logical error, simulation error, code error?

2 vues (au cours des 30 derniers jours)
Engr.
Engr. le 16 Avr 2024
what type of error is this? is this the logical error, simulation error, code error?
  3 commentaires
Infinite_king
Infinite_king le 16 Avr 2024
This is a Code error, probably because of the use of uninitialized variables.
Engr.
Engr. le 18 Avr 2024
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.

Connectez-vous pour commenter.

Réponses (2)

Dallas Perkins
Dallas Perkins le 19 Avr 2024
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
Walter Roberson le 19 Avr 2024
TargetDeltaV is not defined. Meanwhile, you assign to DeltaV but do not use DeltaV in the code.

Catégories

En savoir plus sur Oil, Gas & Petrochemical dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by