Expand current folder to open file

5 views (last 30 days)
Is it possible to expand the "Current Folder" view in MATLAB so that the current file in the editor will be visible in folder tree?
So in the above condition if I have a file from the 'AudioVis' folder in the editor I'd like the 'AudioVis' folder to be expanded and the file highlighted. Similar to the identical feature in Windows Explorer.
  2 Comments
Kevin Chng
Kevin Chng on 9 Oct 2018
Edited: Kevin Chng on 9 Oct 2018
Hi, i am bit confusing. Do you mean expand the folder to look like my attachment?
Stav Yagev
Stav Yagev on 9 Oct 2018
Yes, but I'd like it to automatically expand to the file in the editor (so that I don't have to expand the folder structure myself)

Sign in to comment.

Accepted Answer

Changhao Fu
Changhao Fu on 7 Mar 2019
Hi Stav,
I understand that you may want to select a file inside AudioVis folder in the editor. And you are hoping current folder browser will auto-locate the file that you selected in current folder view instead of manually expanding the AndioVis folder and searching the file location in current folder view.
However, MATLAB doesn't support that functionality for now. I will submit a request to the development and they will look it.
Regards,
Changhao

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!