You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: