[scilab-Users] How to suppress warnings

Collette yann yann.collette at scilab.org
Thu Mar 25 13:23:11 CET 2010


You can try warning('off') for warning messages and lines(0) to get rid 
of "more ?".

YC

Oliver Demetz a écrit :
> Hi,
>
> I am getting warnings of the kind
>
> "warning
>  matrix is close to singular..."
>
> frequently in my code. I know that this can be a problem, but for now 
> I have to accept thi fact.
>
> I would like to suppress these warnings so that they are not displayed 
> anymore.
>
> How can I realise this?
>
>
> Further,
> since I am using the scilex program to use its output in my own 
> application, I have the problem, that even with the
>
>    "-nwni"
>
> switch, scilex asks me
>
>    "more ?"
>
> which I also would like to be answered automatically with "y".
>
> How can I switch off this question?
>
> Thanks in advance
>
> Oliver Demetz
>




More information about the users mailing list