help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error handle


From: Stephan Tassart
Subject: Error handle
Date: Wed, 19 Mar 1997 15:20:11 +0100 (MET)

Hi there,

Is there any other way in octave with the flag --traditional to set a
value to Inf or to NaN without triggering an error exception which
stops a program than (for instance):

>> try
a=Inf;
catch
end_try_catch

>> a
a = Inf


In matlab 4.2, seemingly, you don't need to handle these kind of
exceptions:

>>  a=Inf
a = Inf

Thanks

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
You can produce the sound \ Stéphan TASSART (Analyse-Synthèse IRCAM)/
 of 2 hands clapping. Now, \     Tel: (33) 1 44 78 48 90           /
  how does one hand sound?  \       EMAIL: address@hidden       /
   (TaDream) WWW: http://www.ircam.fr/equipes/analyse-synthese/  /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


reply via email to

[Prev in Thread] Current Thread [Next in Thread]