<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254019</link>
    <title>MATLAB Central Newsreader - browse a file on GUIDE</title>
    <description>Feed for thread: browse a file on GUIDE</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Thu, 18 Jun 2009 07:14:02 -0400</pubDate>
      <title>browse a file on GUIDE</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254019#658347</link>
      <author>recep mansiz</author>
      <description>Hi all !&lt;br&gt;
&lt;br&gt;
I try to put a control in GUIDE that browse a file. &lt;br&gt;
&lt;br&gt;
is there a feature like this in matlab?&lt;br&gt;
&lt;br&gt;
thanks in advance...</description>
    </item>
    <item>
      <pubDate>Thu, 18 Jun 2009 07:17:01 -0400</pubDate>
      <title>Re: browse a file on GUIDE</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254019#658349</link>
      <author>Rodney Thomson</author>
      <description>&quot;recep mansiz&quot; &amp;lt;aalmoraa@hotmail.com&amp;gt; wrote in message &amp;lt;h1cpfq$ib3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi all !&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I try to put a control in GUIDE that browse a file. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; is there a feature like this in matlab?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; thanks in advance...&lt;br&gt;
&lt;br&gt;
make a call to 'uigetfile'</description>
    </item>
    <item>
      <pubDate>Thu, 18 Jun 2009 07:20:16 -0400</pubDate>
      <title>Re: browse a file on GUIDE</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254019#658351</link>
      <author>Sprinceana </author>
      <description>&quot;recep mansiz&quot; &amp;lt;aalmoraa@hotmail.com&amp;gt; wrote in message &amp;lt;h1cpfq$ib3$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi all !&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I try to put a control in GUIDE that browse a file. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; is there a feature like this in matlab?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; thanks in advance...&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt;help uigetfile&lt;br&gt;
Try to put on your gui an axes component and a pushbutton component (tag pushbutton1)&lt;br&gt;
&lt;br&gt;
In function pushbutton1_Callback(hObject, eventdata, handles) write this code:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
% hObject    handle to pushbutton2 (see GCBO)&lt;br&gt;
% eventdata  reserved - to be defined in a future version of MATLAB&lt;br&gt;
% handles    structure with handles and user data (see GUIDATA)&lt;br&gt;
&lt;br&gt;
[filename,pathname] = uigetfile({'*.jpg';'*.png';'*.bmp'}); %selectam poza dorita pentru incarcare in axes1&lt;br&gt;
%vom folosi metoda de tip open dialog cu ajutorul functiei uigetfile&lt;br&gt;
&lt;br&gt;
if ~ischar(filename) %la apasarea butonului cancel afiseaza un mesaj de eroare &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;errordlg('Eroare!','Nici un fisier selectat!'); %afisare mesaj eroare cu ajutorul lui errordlg&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;return;&lt;br&gt;
&amp;nbsp;end</description>
    </item>
    <item>
      <pubDate>Thu, 18 Jun 2009 07:30:17 -0400</pubDate>
      <title>Re: browse a file on GUIDE</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/254019#658352</link>
      <author>recep mansiz</author>
      <description>thanks both pals.&lt;br&gt;
&lt;br&gt;
easy but time consuming problem for a beginner.</description>
    </item>
  </channel>
</rss>

