Add folder problems when using Deploytool

3 vues (au cours des 30 derniers jours)
Zhichao Wang
Zhichao Wang le 21 Août 2015
Commenté : Zhichao Wang le 26 Août 2015
I need add some files in my standalone application. Then I found I can't add a folder in the end user folder. Instead of that, matlab will add all files in the selected folder instead. Is there any way I can add a folder in my application?

Réponse acceptée

Image Analyst
Image Analyst le 25 Août 2015
That is correct. Unfortunately you still cannot add files wherever you want. I talked with the compiler technical support about this and they stated that currently you cannot place the files that you want to deploy into, for example, "C:\myData\my app files" or any other arbitrary folder. For me that was a deal breaker and that's why I continue to use a third party installer builder package. They let the developers know that. Hopefully in some new version you will be able to specify exactly where you want files to go.
  1 commentaire
Zhichao Wang
Zhichao Wang le 26 Août 2015
Thank you. And I decide to create a folder when run this application at the first time. Anyway, matlab is a tool for computing more than GUI designing.

Connectez-vous pour commenter.

Plus de réponses (1)

Varun Bhaskar
Varun Bhaskar le 25 Août 2015
Hi Zhichao,
When you run the 'deploytool' command, the Application Compiler GUI provides the following sections:
1) Files you want to compile.
2) Files required for your application to run. (You can select the folder that you wish to add here)

Catégories

En savoir plus sur Application Deployment dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by