필터 지우기
필터 지우기

Executable file not working

조회 수: 3 (최근 30일)
Praveen Choudhury
Praveen Choudhury 2016년 2월 16일
댓글: Praveen Choudhury 2016년 2월 17일
I have a GUI, which I created a standalone of it. My GUI works fine in Matlab environment but I know that the executable version is not doing what it was supposed to do. How can I know that where it breaks? How can I debug?
  댓글 수: 2
Walter Roberson
Walter Roberson 2016년 2월 16일
Are there any hints about what is going wrong? What do you observe that is different than the non-.exe version?
Praveen Choudhury
Praveen Choudhury 2016년 2월 16일
I found out the exact line of code where the exe file is breaking. I am creating an active server (actxserver) for Excel Application. So I perform some operation and save the excel. Its breaking while I try to save.
The exact code is eWorkbook.SaveAs(filename);
Can you tell me whats wrong with this line of code that the exe file doesnt work?
Thank You

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

답변 (1개)

Image Analyst
Image Analyst 2016년 2월 16일
What is the filename? It isn't in a folder where you don't have permission to write to, like c:\program files\matlab for instance? Please copy and paste the complete error message - everything that it spews to the console window.
Also see the FAQ for more things to try.
  댓글 수: 10
Image Analyst
Image Analyst 2016년 2월 17일
So, just to be clear, your development computer is the same as the target computer that you deployed the compiled app to?
Praveen Choudhury
Praveen Choudhury 2016년 2월 17일
Yes I am using my computer only to run the app. It is working fine in my MATLAB environment but breaks while i run the .exe

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

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by