octave-maintainers
[Top][All Lists]
Advanced

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

Re: Another Matlab test


From: Ben Abbott
Subject: Re: Another Matlab test
Date: Sat, 18 May 2013 09:26:57 +0800

On May 18, 2013, at 7:49 AM, Michael Goffioul wrote:

> What's the result of the following:
> 
> meta.class.fromName('meta.class').Name
> 
> Thanks,
> Michael.

If this isn't what you're looking for, just give me some more detail.

matlab> p = meta.package.fromName('pack')

p = 

  package with properties:

                 Name: 'pack'
            ClassList: [2x1 meta.class]
         FunctionList: [1x1 meta.method]
          PackageList: [0x1 meta.package]
    ContainingPackage: []

matlab> p.ClassList

ans = 

  2x1 class array with properties:

    Name
    Description
    DetailedDescription
    Hidden
    Sealed
    Abstract
    ConstructOnLoad
    HandleCompatible
    InferiorClasses
    ContainingPackage
    PropertyList
    MethodList
    EventList
    EnumerationMemberList
    SuperclassList

matlab> p.ClassList.Name

ans =

pack.invalid_fun


ans =

pack.foo_payment

Ben



reply via email to

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