how to fix this upper directory link?
1 view (last 30 days)
File_W = fullfile(app.Path, '..', 'MyFolder', [fileName, '_myFormat_.xlsx']);
The above is my code to write my Excel file in a upper level directory (parallel with app.Path, in this case: /Voumes/DATA/ABC) named MyFolder. It works well. Here is the probelm. Now when I try to display 'File_W' in my uialert, it shows as the below:
When it should be:
Is there a way I can fix it?