octave-maintainers
[Top][All Lists]
Advanced

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

Re: empty object indexing compatibility with Matlab


From: Nicholas Jankowski
Subject: Re: empty object indexing compatibility with Matlab
Date: Fri, 11 Aug 2017 13:12:00 -0400

On Fri, Aug 11, 2017 at 11:32 AM, Rik <address@hidden> wrote:
> Could someone try the following code in Matlab?

matlab 2017b

>> x = 1:3

x =

     1     2     3

>> x()

ans =

     1     2     3

>> x = containers.Map(1,2)

x =

  Map with properties:

        Count: 1
      KeyType: double
    ValueType: double

>> x()
Error using containers.Map/subsref
Only one-dimensional indexing is supported.



reply via email to

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