필터 지우기
필터 지우기

IF ELSE program in matlab function block

조회 수: 3 (최근 30일)
Sandhya K
Sandhya K 2017년 3월 14일
이동: Sabin 2024년 1월 21일
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.

답변 (1개)

Rik
Rik 2017년 3월 14일
이동: Sabin 2024년 1월 21일
You can use if and else in Matlab, simply type doc if to view the help and some examples.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by