<< C C cat (Matlab function) >>

Scilab Help >> Code Matlab => Scilab > Equivalences Matlab -> Scilab > C > case (Matlab function)

case (Matlab function)

Case switch

Matlab/Scilab equivalent

Matlab Scilab
case
case

Particular cases

In Matlab expression evaluated can be a cell, in this particular use, all values of cell are considered individually (similarly to a OR). In Scilab it can not be a cell (Matlab particularity can be replaced by others "case" or all switch/case statement can be replaced by a if/then/else statement.).


Report an issue
<< C C cat (Matlab function) >>