Why does CSVWRITE fail on Linux?

I am invoking CSVWRITE from my M-function that should write to a file. The function runs fine on Windows. On Linux however, I get the following error:
dlmwrite in 126: Could not open file

 Accepted Answer

The directory that is to contain the output file of CSVWRITE must have write permissions set for the user. Run the Unix CHMOD command to enable write permissions for the user, for the target directory.

More Answers (0)

Products

Release

R2008b

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!