Could someone run the following test in a recent version of Matlab and
report the result here?
v2018b
>> pwd
ans =
'C:\Users\nicholas.jankowski\Desktop\test\mltest\tst'
>> x = ?apkg.bpkg.cpkg.cls
x =
class with properties:
Name: 'apkg.bpkg.cpkg.cls'
Description: ''
DetailedDescription: ''
Hidden: 0
Sealed: 0
Abstract: 0
Enumeration: 0
ConstructOnLoad: 0
HandleCompatible: 0
InferiorClasses: {0×1 cell}
ContainingPackage: [1×1 meta.package]
RestrictsSubclassing: 0
PropertyList: [0×1 meta.property]
MethodList: [3×1 meta.method]
EventList: [0×1 meta.event]
EnumerationMemberList: [0×1 meta.EnumeratedValue]
SuperclassList: [0×1 meta.class]
>> x.ContainingPackage
ans =
package with properties:
Name: 'apkg.bpkg.cpkg'
Description: ''
DetailedDescription: ''
ClassList: [1×1 meta.class]
FunctionList: [0×1 meta.method]
PackageList: [0×1 meta.package]
ContainingPackage: [1×1 meta.package]
>> x.ContainingPackage.ContainingPackage
ans =
package with properties:
Name: 'apkg.bpkg'
Description: ''
DetailedDescription: ''
ClassList: [0×1 meta.class]
FunctionList: [0×1 meta.method]
PackageList: [1×1 meta.package]
ContainingPackage: [1×1 meta.package]