<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/243077</link>
    <title>MATLAB Central Newsreader - General questions about creating standalone apps with Matlab</title>
    <description>Feed for thread: General questions about creating standalone apps with Matlab</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 25 Jan 2009 12:06:13 -0500</pubDate>
      <title>General questions about creating standalone apps with Matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/243077#623815</link>
      <author>Alexander </author>
      <description>Hello, &lt;br&gt;
&lt;br&gt;
I've read that there is a Matlab compiler which is able to create standalone Matlab applications. I have several questions on that:&lt;br&gt;
&lt;br&gt;
- 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 &quot;components&quot;?&lt;br&gt;
&lt;br&gt;
- 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?&lt;br&gt;
&lt;br&gt;
- Is the compiler for free? Where can I download/buy it? 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?&lt;br&gt;
&lt;br&gt;
Thank you in advance, I'm curious to read your replies!&lt;br&gt;
&lt;br&gt;
Alexander</description>
    </item>
    <item>
      <pubDate>Sun, 25 Jan 2009 13:36:11 -0500</pubDate>
      <title>Re: General questions about creating standalone apps with Matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/243077#623818</link>
      <author>Matt </author>
      <description>&quot;Alexander&quot; &amp;lt;alexander.erlich@gmail.com&amp;gt; wrote in message &amp;lt;glhkjl$4el$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hello, &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I've read that there is a Matlab compiler which is able to create standalone Matlab applications. I have several questions on that:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; - 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 &quot;components&quot;?&lt;br&gt;
&lt;br&gt;
Plots should be okay.&lt;br&gt;
According to the documentation, GUI routines are not supported. However, I have found that GUI functions like uigetfile() will compile, but execute VERY slowly.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; - 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?&lt;br&gt;
&lt;br&gt;
The compiler's GUI let's you compile a group of inter-dependent mfiles with a single button-click. &lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
&amp;gt; - Is the compiler for free? Where can I download/buy it? &lt;br&gt;
&lt;br&gt;
No, it's one of the more expensive MathWorks products. You can buy (and I believe download it) from the MathWorks website&lt;br&gt;
&lt;br&gt;
&amp;gt;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?&lt;br&gt;
&lt;br&gt;
Probably separate, but I'm not sure.</description>
    </item>
    <item>
      <pubDate>Sun, 25 Jan 2009 14:06:49 -0500</pubDate>
      <title>Re: General questions about creating standalone apps with Matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/243077#623821</link>
      <author>Arnaud Miege</author>
      <description>&lt;br&gt;
&quot;Alexander&quot; &amp;lt;alexander.erlich@gmail.com&amp;gt; wrote in message &lt;br&gt;
news:glhkjl$4el$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I've read that there is a Matlab compiler which is able to create &lt;br&gt;
&amp;gt; standalone Matlab applications. I have several questions on that:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; - I am using a GUI and also some 3D plots for a program which I am &lt;br&gt;
&amp;gt; developing entirely in Matlab (it's a rather simple program showing a 3D &lt;br&gt;
&amp;gt; animation of a spinning top). Is it possible to create a standalone app &lt;br&gt;
&amp;gt; with these &quot;components&quot;?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; - Does the compiler require some special programming or something, or can &lt;br&gt;
&amp;gt; I just use it on a given - let's say - m-File or several m-Files?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; - Is the compiler for free? Where can I download/buy it? Can it compile &lt;br&gt;
&amp;gt; for Linux and for Windows, or would I have to buy separate compilers? Is &lt;br&gt;
&amp;gt; it able to handle even 3D plots on different OS?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thank you in advance, I'm curious to read your replies!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Alexander&lt;br&gt;
&lt;br&gt;
Hi Alexander,&lt;br&gt;
&lt;br&gt;
You can find out more about the MATLAB Compiler at &lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/products/compiler/.&quot;&gt;http://www.mathworks.com/products/compiler/.&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
I believe for your application to be used on a certain OS, it needs to be &lt;br&gt;
compiled on that same OS: i.e. if you compile your application on win32, &lt;br&gt;
then the end user will be able to run it on win32 only. If you want the end &lt;br&gt;
user to be able to run it on other OS, such as Linux, then you need to &lt;br&gt;
re-compile it under Linux.&lt;br&gt;
&lt;br&gt;
Hope this helps,&lt;br&gt;
&lt;br&gt;
Arnaud </description>
    </item>
    <item>
      <pubDate>Sun, 25 Jan 2009 15:03:09 -0500</pubDate>
      <title>Re: General questions about creating standalone apps with Matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/243077#623826</link>
      <author>Alexander </author>
      <description>Thank you for your replies, &lt;br&gt;
&lt;br&gt;
I tried to add the compiler to the cart to check its price, but I was even told that the Compiler is not available for Student Versions of Matlab.&lt;br&gt;
&lt;br&gt;
Is there no other way to create standalone apps? I've learned that mex is able to include C functions into Matlab, is there no way to let's say use the plot commands from Matlab in C? Or maybe another way of at least getting command line programs into executable, Matlab-independent files?&lt;br&gt;
&lt;br&gt;
Alexander</description>
    </item>
    <item>
      <pubDate>Sun, 25 Jan 2009 15:08:12 -0500</pubDate>
      <title>Re: General questions about creating standalone apps with Matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/243077#623827</link>
      <author>Bruno Luong</author>
      <description>&quot;Matt &quot; &amp;lt;mjacobson.removethis@xorantech.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; No, it's one of the more expensive MathWorks products. You can buy (and I believe download it) from the MathWorks website&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;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?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Probably separate, but I'm not sure.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
When you purchase Matlab and Compiler, you have it for all supported platforms, but you must install your Matlab and compile your application on the target OS where you want your application to be run on.&lt;br&gt;
&lt;br&gt;
No worry about 3D graphic. Some of the specific functions in some toolbox might not be supported by the compiler. They are not many of them, but to be sure please take a look at Matlab documentation. The only modification you might have make in your program is to indicate for the compiler which function are invoked (by EVAL).&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
    <item>
      <pubDate>Sun, 25 Jan 2009 22:08:28 -0500</pubDate>
      <title>Re: General questions about creating standalone apps with Matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/243077#623887</link>
      <author>Arnaud Miege</author>
      <description>&lt;br&gt;
&quot;Alexander&quot; &amp;lt;alexander.erlich@gmail.com&amp;gt; wrote in message &lt;br&gt;
news:glhuvd$6kv$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Thank you for your replies,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I tried to add the compiler to the cart to check its price, but I was even &lt;br&gt;
&amp;gt; told that the Compiler is not available for Student Versions of Matlab.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Is there no other way to create standalone apps? I've learned that mex is &lt;br&gt;
&amp;gt; able to include C functions into Matlab, is there no way to let's say use &lt;br&gt;
&amp;gt; the plot commands from Matlab in C? Or maybe another way of at least &lt;br&gt;
&amp;gt; getting command line programs into executable, Matlab-independent files?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Alexander&lt;br&gt;
&lt;br&gt;
Ah, you didn't say you had a student version. The MATLAB compiler is not &lt;br&gt;
avaialble for student version, you need to use either an academic license or &lt;br&gt;
a professional one. The add-on products available for the student version &lt;br&gt;
are listed at &lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/academia/student_version/companion.html.&quot;&gt;http://www.mathworks.com/academia/student_version/companion.html.&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Hope this helps,&lt;br&gt;
&lt;br&gt;
Arnaud </description>
    </item>
  </channel>
</rss>

