Index: /trunk/src/uvmat.m
===================================================================
--- /trunk/src/uvmat.m	(revision 703)
+++ /trunk/src/uvmat.m	(revision 704)
@@ -445,4 +445,8 @@
 end
 fileinput=uigetfile_uvmat('pick an input file',oldfile);
+hh=dir(fileinput);
+if numel(hh)>1
+    msgbox_uvmat('ERROR','invalid input, probably a broken link');
+else
 
 %% display the selected field and related information
@@ -451,4 +455,5 @@
     desable_subfield(handles)
     display_file_name(handles,fileinput)
+end
 end
 
