Error in creating executable file for MATLAB code

9 views (last 30 days)
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!

Answers (1)

Walter Roberson
Walter Roberson on 6 Mar 2017
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 Comments
GG
GG on 6 Mar 2017
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!

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!