[Scilab-users] case control statement

Samuel Gougeon sgougeon at free.fr
Sun Jan 22 19:14:45 CET 2017


Le 22/01/2017 17:01, Claus Futtrup a écrit :
> Hi there
>
> OK, so I converted to elseif (source code at the bottom of my post). 
> Now Scilab complains like this:
>
>     elseif or[(model==3) (model==4)] then // FDD-LOG / CLOG

if model is a scalar, just write

elseif or(model==[3 4]) then // FDD-LOG / CLOG

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170122/4f75702b/attachment.htm>


More information about the users mailing list