|
"Alexander" <alexander.erlich@gmail.com> wrote in message <glhkjl$4el$1@fred.mathworks.com>...
> Hello,
>
> I've read that there is a Matlab compiler which is able to create standalone Matlab applications. I have several questions on that:
>
> - I am using a GUI and also some 3D plots for a program which I am developing entirely in Matlab (it's a rather simple program showing a 3D animation of a spinning top). Is it possible to create a standalone app with these "components"?
Plots should be okay.
According to the documentation, GUI routines are not supported. However, I have found that GUI functions like uigetfile() will compile, but execute VERY slowly.
> - Does the compiler require some special programming or something, or can I just use it on a given - let's say - m-File or several m-Files?
The compiler's GUI let's you compile a group of inter-dependent mfiles with a single button-click.
The main difficulty is that certain adjustments may need to be made to your mfiles. For example, if your code dynamically determines the name of a function to use, say using eval() or str2fun(), the compiler has no way of recognizing that dependency, and you have to add it manually.
> - Is the compiler for free? Where can I download/buy it?
No, it's one of the more expensive MathWorks products. You can buy (and I believe download it) from the MathWorks website
>Can it compile for Linux and for Windows, or would I have to buy separate compilers? Is it able to handle even 3D plots on different OS?
Probably separate, but I'm not sure.
|