Compiled standalone application doesn't run depending on installation folder.

조회 수: 1 (최근 30일)
Florian Inard
Florian Inard 2019년 7월 1일
답변: Ananthi Jegan 2020년 11월 23일
I compiled a standalone compilation wich display a windows after intialization and tried to install it in two different folders :
C:\Program Files Created by windows Run
C:\My Program Files Created by me Doesn't run
When I say doesn't run, it's more the window doesn't show, because i see the logo of my app appearing on my screen and then nothing happens.
The path I use for the window initialization are only relatives and even on commenting those lines, I get the same results.
The previous version of the app run perfectly when installed in C:\My Program Files.
If it didn't worked at all, I would have guessed that's from my code but I don't see how an installation folder can impact an app if you only use relative paths.
I tried to launch the app from windows cmd and no errors are shown.
Any idea how to solve this ?

답변 (1개)

Ananthi Jegan
Ananthi Jegan 2020년 11월 23일
Could you provide information on the below questions?
  1. Which version of MATLAB are you using?
  2. Have you created Windows Standalone Desktop application using deploytool?
  3. You have mentioned that "I tried to launch the app from windows cmd and no errors are shown".
From this statement, I would like to clarify if you are able to launch your application installed from "C:\My Program Files" from Command window without any errors.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by