|
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 |
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.NameIn 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
tst.tar.gz
Description: application/gzip
[Prev in Thread] | Current Thread | [Next in Thread] |