Effacer les filtres
Effacer les filtres

IF ELSE program in matlab function block

3 vues (au cours des 30 derniers jours)
Sandhya K
Sandhya K le 14 Mar 2017
Déplacé(e) : Sabin le 21 Jan 2024
sir is it possible to make if else programme using matlab function block. Their are two control mode first is temperature rise control and temperature cooling control of the battery. The initial temperature of the battery is consider has 25 degree. we supply Ibat(A) to the battery. This current is supplied constant to the battery until the battery temperature rise to 40 degree.up to this battery is operating has temperature rise control. As the temperature rise to 40 degree and current Ibat is made zero. From 40 degree temperature fall to 30 degree, when Ibat=0. this is temperature cooling mode. And when the temperature reach 30 degree again Ibat is supplied to battery.if first condition is true Ibat=1 and if second condition is true Ibat=0. In this way battery temperature is controlled. By using IF ELSE programme is it possible. please give me solution sir. thank you.

Réponses (1)

Rik
Rik le 14 Mar 2017
Déplacé(e) : Sabin le 21 Jan 2024
You can use if and else in Matlab, simply type doc if to view the help and some examples.

Community Treasure Hunt

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

Start Hunting!

Translated by