<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240334</link>
    <title>MATLAB Central Newsreader - uigetfile fullfile and mkdir</title>
    <description>Feed for thread: uigetfile fullfile and mkdir</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>Wed, 03 Dec 2008 09:00:19 -0500</pubDate>
      <title>uigetfile fullfile and mkdir</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240334#614682</link>
      <author>onur alptekin</author>
      <description>hello;&lt;br&gt;
i'm trying to generate a folder using uigetfile by gui. ui get file saves inputs in cell arrays. &lt;br&gt;
I want to generate a folder in the name of input data.&lt;br&gt;
for example ; &lt;br&gt;
data(1)='12345'; % saved as cell because of the uigetfile function&lt;br&gt;
f1=fullfile('C:', 'Program Files', 'MATLAB','R2008A,'work',data(1));&lt;br&gt;
%last pathname(data(1)) should be 12345 by the input&lt;br&gt;
&lt;br&gt;
if(exist(f1)==0)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;makedir(f1);&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
This code doesnt work correctly. I dont know how to export the data in cell array to the fullfile function.&lt;br&gt;
Help please:)</description>
    </item>
    <item>
      <pubDate>Wed, 03 Dec 2008 09:10:22 -0500</pubDate>
      <title>Re: uigetfile fullfile and mkdir</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240334#614686</link>
      <author>Ryan Ollos</author>
      <description>&quot;onur alptekin&quot; &amp;lt;onur_alptekin@hotmail.com&amp;gt; wrote in message &amp;lt;gh5hr3$12c$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; hello;&lt;br&gt;
&amp;gt; i'm trying to generate a folder using uigetfile by gui. ui get file saves inputs in cell arrays. &lt;br&gt;
&amp;gt; I want to generate a folder in the name of input data.&lt;br&gt;
&amp;gt; for example ; &lt;br&gt;
&amp;gt; data(1)='12345'; % saved as cell because of the uigetfile function&lt;br&gt;
&amp;gt; f1=fullfile('C:', 'Program Files', 'MATLAB','R2008A,'work',data(1));&lt;br&gt;
&amp;gt; %last pathname(data(1)) should be 12345 by the input&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; if(exist(f1)==0)&lt;br&gt;
&amp;gt;    makedir(f1);&lt;br&gt;
&amp;gt; end&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Try:&lt;br&gt;
&lt;br&gt;
data{1}='12345'; &lt;br&gt;
f1=fullfile('C:', 'Program Files', 'MATLAB','R2008A,'work',data{1});&lt;br&gt;
&lt;br&gt;
Cell arrays need to be assigned / referenced with curly brackets.</description>
    </item>
    <item>
      <pubDate>Wed, 03 Dec 2008 10:40:19 -0500</pubDate>
      <title>Re: uigetfile fullfile and mkdir</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240334#614702</link>
      <author>onur alptekin</author>
      <description>&quot;Ryan Ollos&quot; &amp;lt;ryano@physiosonics.com&amp;gt; wrote in message &amp;lt;gh5idu$bmn$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;onur alptekin&quot; &amp;lt;onur_alptekin@hotmail.com&amp;gt; wrote in message &amp;lt;gh5hr3$12c$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; hello;&lt;br&gt;
&amp;gt; &amp;gt; i'm trying to generate a folder using uigetfile by gui. ui get file saves inputs in cell arrays. &lt;br&gt;
&amp;gt; &amp;gt; I want to generate a folder in the name of input data.&lt;br&gt;
&amp;gt; &amp;gt; for example ; &lt;br&gt;
&amp;gt; &amp;gt; data(1)='12345'; % saved as cell because of the uigetfile function&lt;br&gt;
&amp;gt; &amp;gt; f1=fullfile('C:', 'Program Files', 'MATLAB','R2008A,'work',data(1));&lt;br&gt;
&amp;gt; &amp;gt; %last pathname(data(1)) should be 12345 by the input&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; if(exist(f1)==0)&lt;br&gt;
&amp;gt; &amp;gt;    makedir(f1);&lt;br&gt;
&amp;gt; &amp;gt; end&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Try:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; data{1}='12345'; &lt;br&gt;
&amp;gt; f1=fullfile('C:', 'Program Files', 'MATLAB','R2008A,'work',data{1});&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cell arrays need to be assigned / referenced with curly brackets.&lt;br&gt;
&lt;br&gt;
It works thax alot</description>
    </item>
  </channel>
</rss>

