Change a read-only file to writable

49 views (last 30 days)
Hello everyone, I used 'copyfile' to copy an Excel file to current folder, because the source file is read-only, so the destination is read-only too. But I want 'writable', how to do that? Thanks.

Accepted Answer

The Matlab Spot
The Matlab Spot on 18 Nov 2013
Search for function
fileattrib
in the matlab documentation
  3 Comments
kei hin
kei hin on 18 Nov 2013
Done! Thank you very much.
The Matlab Spot
The Matlab Spot on 18 Nov 2013
Tip: Whenever going through the help of any function, also look at the 'See Also' section at the end of the page. It contains link to function help of the related context. :)

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!