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

7 vues (au cours des 30 derniers jours)
McLain Cowan
McLain Cowan le 30 Juil 2021
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');

Réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by