这是自带的演示Tree控件的案例。
其中显示表格信息是自带案例,这里只是把代码稍作修改根据 Excel 的信息添加最上层的节点而不是在设计区写死。
另外演示单层级文件夹,双层级文件夹,不定层级文件夹。不要用复杂的,用适合自己的。
说明参见:
https://zhuanlan.zhihu.com/p/689495593
Cita come
MBD柚子 (2025). 如何使用MATLAB APP Designer 的 Tree 控件 (https://it.mathworks.com/matlabcentral/fileexchange/161896-matlab-app-designer-tree), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2024a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
