Re: dlmwrite([path file],....) does not work on Mac OS?
- From: Michael Roesch <mr_78-25@xxxxxx>
- Date: Thu, 31 Jan 2008 19:02:02 +0100
I just got a hint from someone else:
You have just to change backslash to slash for unix-based systems and it works:
path = strcat(pwd,'/dlmtest/');
Michael
Michael Roesch schrieb:
The following code should create a subdirectory in the current working directory and write a file into that directory:.
A = ones(10);
path = strcat(pwd,'\dlmtest\');
name = 'dlmA';
mkdir(path)
dlmwrite([path name],A,'\t');
Obviously this works on Windows platforms, but on my Mac platform, the subdirectory is created but no file is written.
Are there some Mac-users who could confirm this?
Thanks, Michael
- References:
- dlmwrite([path file],....) does not work on Mac OS?
- From: Michael Roesch
- dlmwrite([path file],....) does not work on Mac OS?
- Prev by Date: Re: Passing Values to a popup
- Next by Date: Re: matlabpool problem
- Previous by thread: Re: dlmwrite([path file],....) does not work on Mac OS?
- Next by thread: Re: dlmwrite([path file],....) does not work on Mac OS?
- Index(es):