[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
- need help with function handle tests, John W. Eaton, 2020/03/10
- Re: need help with function handle tests, Kai Torben Ohlhus, 2020/03/10
- Re: need help with function handle tests, John W. Eaton, 2020/03/10
- Re: need help with function handle tests,
Kai Torben Ohlhus <=
- Re: need help with function handle tests, John W. Eaton, 2020/03/11
- Re: need help with function handle tests, Kai Torben Ohlhus, 2020/03/11
- Re: need help with function handle tests, John W. Eaton, 2020/03/13
- Re: need help with function handle tests, Ray Daniel Zimmerman, 2020/03/16
- Re: need help with function handle tests, John W. Eaton, 2020/03/16
- Re: need help with function handle tests, Ray Daniel Zimmerman, 2020/03/16
- Help needed with function handles (was: Re: need help with function handle tests), John W. Eaton, 2020/03/17