UIGetfile Operation - Appears to OPEN/COPY .mat files, opposite what the documentation says?
Ältere Kommentare anzeigen
Hi!
I have large datasets (~30MB MAT files) which I am trying to analyze on a network machine with about 1gig of RAM and a 15MB roaming profile running Windows XP.
I'm using uigetfile() as a method for users to select the dataset to analyze (we have hundreds), and running the simplified driver code I'm encountering an error.
Specifically, I get an XP Error message informing me that I've exceeded my roaming profile space. Since uigetfile is only supposed to return a string, I have been very confused by this behavior. Even if it loaded the MAT file (which again, according to documentation it doesn't do) wouldn't the file contents just show up as workspace variables in RAM? I've tracked it, and a copy of the MAT file I select appears in C:\Documents and Settings\Username\Recent\
I've contacted my sysadmin and I suspect he will eventually increase my roaming cache size to deal with this, but I'm curious why this is happening. I've tried it with files that are located both on and off of my MATLAB path and encounter the same result. MAT files are copied fully to that directory; all other files create a 1KB shortcut. Is there anyone who has seen this before or who knows of a workaround? It's preventing me from working on the actual problem I need to solve.
The driver code:
[filename, pathname, filterindex] = uigetfile('*.*','Select MAT frame file for analysis');
%the above usually is *.mat, but modified for testing
disp(pathname);
From the documentation: "...uigetfile does not open the file or files you select." There is no mention of what it does with regards to network and roaming profiles.
Thanks, Peter
Akzeptierte Antwort
Weitere Antworten (1)
Peter O
am 24 Mai 2011
0 Stimmen
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!