How can I copy a resource file in a packaged / compiled app?

4 views (last 30 days)
I have written an app using AppDesigner and I can't seem to figure out how to save my file using a template I created and placed in the resource folder in my packaged app.
The Error I continue to get is 'No Matching files were found.'
filename_template = 'DesignData_template.xlsx';
[file,path] = uiputfile(sprintf('DesignData, Panel %.0f.xlsx',i));
filename = fullfile(path,file);
copyfile(filename_template, filename, 'f');

Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!