MATLAB Answers

Is there anyway to convert GUI to .exe without using MATLAB Compiler ?

16 views (last 30 days)
Alireza Pakdaman
Alireza Pakdaman on 3 Dec 2019
Answered: Rik on 3 Dec 2019
I want to convert a GUI, which is generated using MATLAB guide, to a standalone .exe file. How can I do that without having MATLAB Compiler ?

  0 Comments

Sign in to comment.

Answers (1)

Rik
Rik on 3 Dec 2019
I am not aware of any method outside of Compiler that will allow you to do that.
The only 'alternative' I know is using GNU Octave. This will probably require a lot of work to make it compatible (Octave calls itself 'mostly compatible' with Matlab). There are a lot of downsides to using Octave, but one of the upsides is that it is open and therefore a lot easier to package your GUI with a portable runtime.
You would have made the refactoring task a lot easier by not using GUIDE (see this discussion).
Be aware that there are several downsides to using Octave: it is slow, has missing functionality, is poorly implemented on Windows, and has a much smaller community (and no official support you could contact). But it is free in most cases, so for some situations it may be a good alternative.
Note that since this is a Matlab forum, provided by the company that sells Matlab, discussion of Octave is generally discouraged (although not explicitly forbidden). When posting questions, try to make sure the issue can be reproduced in a release of Matlab (older releases tend to share limitations).

  0 Comments

Sign in to comment.

Sign in to answer this question.

Products


Release

R2019a