octave-maintainers
[Top][All Lists]
Advanced

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

need info about containing package info in class metadata in Matlab


From: John W. Eaton
Subject: need info about containing package info in class metadata in Matlab
Date: Tue, 19 Feb 2019 14:36:15 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Could someone run the following test in a recent version of Matlab and report the result here?

Unpack the attached tar file. It will create a directory tree tst/+apkg/+bpkg/+cpkg containing a simple classdef file cls.m. Then in Matlab, cd to the tst directory and execute the following commands:

  x = ?apkg.bpkg.cpkg.cls
  x.ContainingPackage
  x.ContainingPackage.Name
  x.ContainingPackage.ContainingPackage
  x.ContainingPackage.ContainingPackage.Name

In Octave, the third line shows "apkg.bpkg.cpkg" but the fifth line shows just "apkg" when I would expect it would show "apkg.bpkg", which I think should be the containing package of "cpkg".

Thanks,

jwe

Attachment: tst.tar.gz
Description: application/gzip


reply via email to

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