Can you open a file that is not in your matlab directory with the fopen function?
1 view (last 30 days)
Show older comments
From your desktop forexample? Do you have to specify it's location to fopen, the filename alone seems to not be enough.
0 Comments
Accepted Answer
David Sanchez
on 2 Dec 2013
yo just have to specify the full path:
fid=fopen('C:\users\your_name\Desktop\your_file.txt');
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!