Files not showing up in 'current folder'

Hi all,
I've been experiencing a weird problem starting in the last 2 days. When go to a certain directory in Matlab, it doesn't show any of the files in that directory. Moreover, using the dir() command for that directory doesn't show any files.
I know the directory exists and there are files in it because I can access it through the normal Windows file explorer (see image below).
A few additional details. The directory I'm trying to access is a network drive. However, I can still access other network drives from Matlab and other PCs on the same network are able to view the directory in Matlab. This makes me think its something specific to Matlab on my PC with this directory (although I'm having the same issue on my personal laptop). I'm using a Windows 10 PC and Matlab 2017a.
I've already tried restarting matlab, my pc, disconnecting and reconnecting the drive. I have not tried reinstalling Matlab yet. Any help would be greatly appreciated!

3 Comments

Is it possible that the missing files are on a Microsoft OneDrive folder?
No I don't even have OneDrive set up on these computers.
I am also facing the same problem. Please help me out. I'm not getting the files in my laptop in current folder. Kindly allow me to know the possible ways. Thank you🙏

Sign in to comment.

Answers (5)

Just logout and log in again. It will work

3 Comments

I tried just refreshing the page which didn't work, but logging out and back in worked. Thanks!
THIS HELPS!! THANK YOU VERY MUCH!!T-T
It's worked for me, thanks a lot

Sign in to comment.

I am not sure if this is the right answer. I see a '-' in the name. Can you change it to an underscore '_' and check?

1 Comment

The whole Z drive doesn't pop up in Matlab, not just that specific folder. For the image I just picked a random folder on that drive as an example.
Interestingly, the 'browse for folder' button in the matlab can see the contents of the folder just fine. However, if I press "select folder" it won't display it in the current folder window.

Sign in to comment.

Alexander Yates
Alexander Yates on 4 Apr 2019
Edited: Alexander Yates on 4 Apr 2019
did you find a solution to this problem? I am having the same issue using MATLAB Online. Was fine a week ago, but now the files aren't showing up (despite being able to locate them in the 'current folder' through the 'Find files' tool.

4 Comments

No I did not discover a solution, but I may have discovered the cause. As I mentioned, the directory I was working with was on a network drive which in this case was a folder on a different computer. I was also running matlab remotely on that computer through Bash. I found that, if I had that directory open in Matlab on my local PC, while I was also remotely manipulating files using Matlab on the external PC, the files would eventually dissapear on my local machine.
I had a similar issue online. I just logged out and logged back in again and my files appeared (though in different directories from what I remeber)
just click details man..
Where is "details", Michele Ibrahimi ?
Could you explain more about how "details" will solve the problem of unsychronized views of a network file system? The only related possibility that comes to mind was an issue with NFS in the days before that got renamed to NFSv1... which is to say in the early 1980s.

Sign in to comment.

I have the same issue, log in and out does not help

3 Comments

Hi :) just wondering if you managed to resolve as I have the same issue.
Hm, our cloud manager solutioned the problem, not me, but I understood it had something to do with openGL settings. Sorry that I cant be more specific. Good luck,
Ok will have a look at that - thankyou anyway :)

Sign in to comment.

Categories

Products

Asked:

on 10 Nov 2017

Commented:

on 26 Sep 2025

Community Treasure Hunt

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

Start Hunting!