How can i open a file that the user inputs ?
Show older comments
Is this right ?
FileID = input('please enter the name of your file');
fopen(FileID);
Accepted Answer
More Answers (1)
Jan
on 25 Sep 2013
0 votes
Better use uigetfile, because reduces the chance of typos.
Categories
Find more on Low-Level File I/O 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!