octave-maintainers
[Top][All Lists]
Advanced

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

Re: File found by searching load path


From: Przemek Klosowski
Subject: Re: File found by searching load path
Date: Tue, 11 Dec 2018 13:58:47 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 12/11/18 12:29 PM, Przemek Klosowski wrote:

In that case, I would disable the warning for myself---but I couldn't figure out how; I thought it'd be

warning('off','Octave:load-file-in-path')

but no:

octave:11> load x
warning: load: '/tmp/x' found by searching load path

Ian McCallion pointed out that I turned off the wrong warning:

[a,b]=lastwarn
a = load: '/tmp/x' found by searching load path
b = Octave:data-file-in-path

warning('off','Octave:data-file-in-path') indeed turns that warning off.




reply via email to

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