matlab compiler
Ältere Kommentare anzeigen
Hi, I use Matlab on a Mac. I like create executable program from my m-files. How can I do this? How can I compile both on Windows and Mac?
Thanks a lot for your answers.
Pietro Rossi
Antworten (1)
Laura Proctor
am 1 Jun. 2011
2 Stimmen
Here's a list of supported compilers for the mac. If you wish to also compile on a Windows machine, you will need to install a supported compiler on that computer. You will not be able to deploy an application from a mac onto a Windows machine.
10 Kommentare
Walter Roberson
am 1 Jun. 2011
Note that if you wish to deploy to a Windows machine, you will need to run the compiler on a Windows machine. It is not possible to compile on a Mac to deploy to Windows.
Pietro Rossi
am 1 Jun. 2011
Walter Roberson
am 1 Jun. 2011
Enter the command
deploytool
at the MATLAB prompt; it should do most of the work for you.
Laura Proctor
am 1 Jun. 2011
Make sure to use
mbuild -setup
to select your compiler before you begin the example. If you're struggling with the magic squares example above, just let us know where you're stuck.
Pietro Rossi
am 2 Jun. 2011
Titus Edelhofer
am 2 Jun. 2011
The distrib folder contains what you need to run the program, so what you typically pass on to someone else. The src folder contains everything that was generated on the way. Only the "needed" files are at the end of the compilation copied from src to distrib.
Pietro Rossi
am 3 Jun. 2011
Titus Edelhofer
am 3 Jun. 2011
Hi Pietro,
the java update you did yesterday: was it the Java Runtime (JRE)? You will need to go to java.sun.com and download the Java Development Kit (JDK) ...
Titus
Pietro Rossi
am 3 Jun. 2011
Titus Edelhofer
am 3 Jun. 2011
Hi Pietro,
there you are:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Titus
Kategorien
Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!