Add folder problems when using Deploytool

조회 수: 1 (최근 30일)
Zhichao Wang
Zhichao Wang 2015년 8월 21일
댓글: Zhichao Wang 2015년 8월 26일
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?

채택된 답변

Image Analyst
Image Analyst 2015년 8월 25일
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
Zhichao Wang
Zhichao Wang 2015년 8월 26일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Varun Bhaskar
Varun Bhaskar 2015년 8월 25일
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)

카테고리

Help CenterFile Exchange에서 Application Deployment에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by