I am trying to do batch processing. The list of text files to be processed are in a text file which I am able to read into a string. If I try to run fopen again by passing the string as the argument to fopen, fopen fails saying : No such file or directory. Instead, if I hard code the filename in the fopen statement the file is opened successfully.
EDU>> fopen('./nmos_1_50n.dat', 'r')ans = 5 EDU>> mystringmystring =nmos_1_50n.datEDU>> [fid2, msg] = fopen(mystring, 'r')fid2 = -1msg =No such file or directory Please help.
Best Answer