Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotTree(Edits) broken #13

Open
lanpirot opened this issue Oct 24, 2022 · 0 comments
Open

plotTree(Edits) broken #13

lanpirot opened this issue Oct 24, 2022 · 0 comments

Comments

@lanpirot
Copy link

lanpirot commented Oct 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant