필터 지우기
필터 지우기

Form a tree view of path names?

조회 수: 2 (최근 30일)
Song
Song 2016년 2월 12일
답변: Song 2016년 2월 13일
Hello, basically, I need an algorithm which can convert a bunch of path names into kind of tree view, e.g.
C:\WINDOWS\addins
C:\WINDOWS\AppPatch
C:\WINDOWS\AppPatch\MUI
C:\WINDOWS\AppPatch\MUI\040C
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MUI
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MUI\0409
to
C:\WINDOWS
├───addins
├───AppPatch
│ └───MUI
│ └───040C
├───Microsoft.NET
│ └───Framework
│ └───v2.0.50727
│ └───MUI
│ └───0409
I found some links in java or python, e.g. https://stackoverflow.com/questions/1155977/populate-treeview-from-a-list-of-path
But they are using more or less their predefined classes.
How can I implement this in matlab?

답변 (2개)

Chad Greene
Chad Greene 2016년 2월 12일
Have you checked the file exchange site? There are a few options available, e.g. http://www.mathworks.com/matlabcentral/fileexchange/41170
  댓글 수: 1
Song
Song 2016년 2월 13일
How can i use these function to get my needed outputs?

댓글을 달려면 로그인하십시오.


Song
Song 2016년 2월 13일

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by