Size of Splash Screen too big - Deploytool

조회 수: 13 (최근 30일)
Yannick Petrick
Yannick Petrick 2019년 3월 9일
댓글: Munish Raj 2019년 3월 25일
Hello together,
currently I am working on a standalone application which reads an excel-file, processes the data and creates a figure which is saved in a PowerPoint-Presentation.
I am using the Application Compiler of the deploytool to get this done. (MatLab R2018b, 9.5)
There you can choose your custom Splash Screen, which is recommended with 400 x 400 pixels. I created my Splash Screen in Adobe Ilustrator with this size and saved it as a .png.
Most of the people that will use the tool work with a notebook that is connected to a second screen. When someone starts the application the Splash Screens shows much too big for the screen (only about of the height are visible). The following GUI is displayed like it should. This is just a minor problem but the application simply looks unprofessional like this in my opinion.
Is there any way to specify the size of the Splash Screen so it is shown completely on the screen?
Thanks for your help!

채택된 답변

Munish Raj
Munish Raj 2019년 3월 19일
Hello Yannick,
Ideally, the application compiler will use the same number of pixels that are present in the splash screen that you specify in the GUI while building the application.
However if this does not work for you, as a work around for this problem you could do the following
1) Navigate to the folder where the exe is present.
2)Replace the 'splash.png' with the required file that you want to use
3)rename the file as splash.png
If this does not work,
Try a smaller picture, lets say a 200x200 png file.
  댓글 수: 2
Yannick Petrick
Yannick Petrick 2019년 3월 25일
Apparently i had a problem with the resolution of the picture. But the replacing as desribed worked perfect. Thanks!
Munish Raj
Munish Raj 2019년 3월 25일
You're welcome Please accept the answer if it worked for you.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by