Contenido principal

wtbo

WTBO constructor

    Description

    OBJ = wtbo returns a WTBO object. The DTREE, and NTREE, and WPTREE objects all have a WTBO object as the parent.

    OBJ = wtbo(userdata) sets the ud field of OBJ.

    example

    Examples

    collapse all

    Create a WTBO object whose user data field is set to the string "Hello, World".

    obj = wtbo("Hello, World");
    get(obj,"ud")
    ans =
    
      1×1 cell array
    
        {'Hello, World'}

    Input Arguments

    collapse all

    User data to store in the ud field of the WTBO object, specified as an array, cell array, or structure array..

    Example: obj = wtbo({1,"hello",randn(2,2)}).

    Output Arguments

    collapse all

    Object, returned as a WTBO object. OBJ has these fields:

    • wtboInfo — Object information (not used)

    • ud — User data field

    Version History

    Introduced before R2006a

    See Also

    | |