octave-maintainers
[Top][All Lists]
Advanced

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

Re: help needed to understand Matlab behavior


From: Ray Daniel Zimmerman
Subject: Re: help needed to understand Matlab behavior
Date: Thu, 5 Mar 2020 14:58:44 +0000

MATLAB R2019b on Mac.

>>  [fh1, fh2] = test_hnf2 ()

fh1 =

  function_handle with value:

    @test_hnf2/nested1


fh2 =

  function_handle with value:

    @test_hnf2/nested2

>>  fh2 ()

val =

     1

>>  fh1 ()

val =

     2

>>  fh2 ()

val =

     2


On Mar 5, 2020, at 8:41 AM, John W. Eaton <address@hidden> wrote:

Given the attached fucntion, could someone please try

 [fh1, fh2] = test_hnf2 ()
 fh2 ()
 fh1 ()
 fh2 ()

in a recent version of Matlab and report the results here?

Thanks,

jwe
<test_hnf2.m>


reply via email to

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