I have a folder of files I have added to a stand-alone exe. I have been using Desktop->WindowsStandAloneApplication -> Build. There is a link to add files or directories. I have added a folder which has my data files. However, I don't know how to access them. I have tried
if isdeployed mydir = ctfroot ; myfile = 'myfile.dat'; fid=fopen([mydir, myfile]);else ...end
but it doesn't find the file.
Best Answer