Compiled standalone application doesn't run depending on installation folder.
2 次查看(过去 30 天)
显示 更早的评论
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
2020-11-23
Could you provide information on the below questions?
- Which version of MATLAB are you using?
- Have you created Windows Standalone Desktop application using deploytool?
- 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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!