Skip to content

plotTree(Edits) broken #13

@lanpirot

Description

@lanpirot

Plotting the example with demo_before.mdl and demo_after.mdl is currently broken (Matlab R2021b). My fix: change getNodeType.m line 51 to elseif ~isempty(node.Parameters) && any(strcmp({node.Parameters.Name}, 'BlockType')) || isBlock(node)

I don't know why the (cumbersome) expression ~isempty(node.Parameters) && any(strcmp({node.Parameters.Name}, 'BlockType')) was used, so maybe my fix breaks something else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions