help-octave
[Top][All Lists]
Advanced

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

Re: Temporarily disable warnings from within .oct file


From: Jordi Gutiérrez Hermoso
Subject: Re: Temporarily disable warnings from within .oct file
Date: Wed, 16 Oct 2013 11:08:37 -0400

On Wed, 2013-10-09 at 15:53 -0700, babelproofreader wrote:
> Is it possible to do this? In particular I want to toggle between
> warning ("off", "Octave:broadcast") and warning ("on",
> "Octave:broadcast"), i.e. set warning off at the beginning of the
> .oct file and then set warning on just before the .oct file returns
> its output.

The easiest way is probably to call the interpreter from C++ with
those commands. In the development version, it's possible to directly
call DEFUNs from C++, but this isn't released yet.

HTH,
- Jordi G. H.




reply via email to

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