Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: General questions about creating standalone apps with Matlab
Date: Sun, 25 Jan 2009 13:36:11 +0000 (UTC)
Organization: Xoran Technologies
Lines: 27
Message-ID: <glhpsb$baa$1@fred.mathworks.com>
References: <glhkjl$4el$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1232890571 11594 172.30.248.35 (25 Jan 2009 13:36:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 25 Jan 2009 13:36:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:513778


"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.