The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Slow uigetfile with large number of remote folders in MATLAB path
Replies: 1   Last Post: Feb 14, 2013 10:14 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Slow uigetfile with large number of remote folders in MATLAB path
Posted: Feb 14, 2013 10:14 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Laurent Badel" <> wrote in message
> Hello,
> I am using MATLAB with a large number of remote folders (~80) on the
> MATLAB path. This apparently creates connection problems with the remote
> computer. In particular, calling uigetfile with a remote starting
> directory becomes very slow (it can take up to 15 minutes until the dialog
> shows)
> I have found that the problem with uigetfile disappears when removing
> remote folders from the MATLAB path. Therefore, I suspect that this might
> occur because MATLAB maintains too many active connections with the remote
> computer.

First I'd check with your network administrators to ensure there's nothing
wrong with the network and that they haven't put any bandwidth restrictions
in place.

> Another seemingly related problem is that although I can access any remote
> folder directly, I am unable to browse the root of the remote computer in
> windows explorer (I mean that if I try to open \\REMOTECOMPUTER in windows
> explorer, I get "\\REMOTECOMPUTER is not accessible" error, whereas if I
> open \\REMOTECOMPUTER\SharedFolder, it works fine).

I think what you're trying to do is \\REMOTECOMPUTER\c$ to access the C
drive on the remote machine.

> Would anyone know why this happens and/or any workarounds?
> note: the reason I am adding many remote folders is because we are several
> users sharing the same m-files, and I prefer having one copy of all files
> in the same location rather than multiple copies in multiple locations.

My very first thought when I read that was "revision control system."

Depending on the RCS you use, that would allow users to have their own local
copies that they can keep synchronized with the master "one copy of all
files in the same location." It will also help manage multiple users making
modifications to those files simultaneously, and ensure that if any
modifications should happen to break those files you could reverse the

MATLAB even supports interacting directly with some source control systems
from within MATLAB, so you may not need to switch to a different application
to manage the files.

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.