octave-maintainers
[Top][All Lists]
Advanced

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

Re: need help with function handle tests


From: Kai Torben Ohlhus
Subject: Re: need help with function handle tests
Date: Wed, 11 Mar 2020 14:08:14 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0


On 3/11/20 12:40 PM, John W. Eaton wrote:
> After running the test script, what happens if you do
> 
>   %% Move out of other-dir where nonexistent_fun.m is located
>   cd ..
>   %% Does fh_missing still point to other-dir/nonexistent_fun?
>   fh_missing ();
>   functions (fh_missing)
> 
> ?
> 
> I'm sure I'll have more questions and will probably post another version
> of the script.
> 
> jwe
> 

Again R2019a:

>> cd ..
>> fh_missing ();
'nonexistent_fun' is not found in the current folder or on the MATLAB
path, but exists in:
    /home/siko1056/Downloads/fhdl-tests/other-dir

Change the MATLAB current folder or add its folder to the MATLAB path.

>> functions (fh_missing)

ans =

  struct with fields:

    function: 'nonexistent_fun'
        type: 'simple'
        file: ''


Please ask more questions.  Happy to help.

Kai



reply via email to

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