[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkdir and nested folders.

From: Andreas Weber
Subject: Re: mkdir and nested folders.
Date: Tue, 18 Dec 2012 08:28:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10

On 18.12.2012 07:47, Laurent Hoeltgen wrote:
The following works in Matlab R2012a on Xubunu 12.04:
when the folders foo and bar don't exist. They are simply created then, too. However on octave (3.6.2) it doesn't. Status is 0.

Hi Laurent,
I think this is related to octave uses gnulib::mkdir. There is also a gnulib::mkdir-p but as you see in the link above this made some problems compiling with MinGW.

Is there any way to get the same behaviour in octave as in matlab?
You can do 'system("mkdir -p foo/bar/baz")' but this isn't platform independent.

Regards, Andy

reply via email to

[Prev in Thread] Current Thread [Next in Thread]