Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Matlab 中使用“struct”实现了一个二叉树来创建节点。每个节点都有一些属性和一个左孩子和一个右孩子。
有没有一种简单的方法可以将其可视化为一棵树而无需画线等?(如 classregtree 的查看命令)
会treeplot成功吗?
treeplot
http://www.mathworks.se/help/matlab/ref/treeplot.html
-抢