Error in creating executable file for MATLAB code

조회 수: 12 (최근 30일)
GG
GG 2017년 3월 6일
댓글: Walter Roberson 2017년 3월 6일
Hi, I made a script that automates some data analysis. I used the MATLAB compiler and made the project. However, when opening the .exe file, an error pops up saying "the functionality is no longer supported under the -nojvm startup".
Is there any other way I can make a project for my MATLAB script? Any suggestions are appreciated..
Thank you!

답변 (1개)

Walter Roberson
Walter Roberson 2017년 3월 6일
Does it give a hint about what functionality it is referring to?
... Are you using ginput?
Are you compiling as a "Console" application? I would not expect ginput to work as a console application.
  댓글 수: 10
GG
GG 2017년 3월 6일
That's very odd. Is there another way to make an executable matlab script such that the user doesn't have to open up matlab to run it everytime?
And yes you're right! it's useless, and i forgot to comment it out after I made adjustments. thank you though!

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by