MATLAB Executable aus GUI erstellen: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(22 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
# Stellen Sie sicher, dass MATLAB Compiler und ein unterstützter C Compiler installiert sind.
[[Kategorie:AlphaBot]]
# Geben Sie den Befehl <code>mbuild -setup</code> ein und wählen Sie Ihren C Compiler aus.
 
 
1. Stellen Sie sicher, dass MATLAB Compiler und ein unterstützter C Compiler installiert sind.
 
2. Geben Sie den Befehl <code>mbuild -setup</code> ein und wählen Sie Ihren C Compiler aus.
   >> mbuild -setup
   >> mbuild -setup
   MBUILD configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.
   MBUILD configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.
Zeile 6: Zeile 10:
   mex -setup C++ -client MBUILD  
   mex -setup C++ -client MBUILD  
   mex -setup FORTRAN -client MBUILD
   mex -setup FORTRAN -client MBUILD
3. Geben Sie <code>deploytool</code> in das Command Window ein.
  >> deploytool
4. Wählen Sie unter <code>MAIN FILE</code> das von GUIDE erzeugte m-File aus.
5. Drücken Sie <code>Package</code> (vgl. Bild 1).
[[Datei:MatlabCompiler.jpg |thumb|gerahmt|300px| Bild 1: MATLAB Compiler Oberfläche]]<br/>
== Weblinks ==
* [https://de.mathworks.com/products/compiler.html MATLAB Compiler]


    Make sure you have MATLAB Compiler and a supported C compiler
    Run the command mbuild -setup to select your C compiler
    Enter deploytool to open the deployment tool window; create a new project at the prompt
    Under the "build" tab, click the links "add main file" and "add files/directory" and add your MATLAB GUI code files (and data files, if necessary)
    Click the "build" button.


* Run the command mbuild -setup to select your C compiler
    Enter deploytool to open the deployment tool window; create a new project at the prompt
    Under the "build" tab, click the links "add main file" and "add files/directory" and add your MATLAB GUI code files (and data files, if necessary)
    Click the "build" button.





Aktuelle Version vom 30. März 2021, 14:19 Uhr


1. Stellen Sie sicher, dass MATLAB Compiler und ein unterstützter C Compiler installiert sind.

2. Geben Sie den Befehl mbuild -setup ein und wählen Sie Ihren C Compiler aus.

 >> mbuild -setup
 MBUILD configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.
 To choose a different language, select one from the following:
  mex -setup C++ -client MBUILD 
  mex -setup FORTRAN -client MBUILD

3. Geben Sie deploytool in das Command Window ein.

 >> deploytool

4. Wählen Sie unter MAIN FILE das von GUIDE erzeugte m-File aus.

5. Drücken Sie Package (vgl. Bild 1).

Bild 1: MATLAB Compiler Oberfläche



Weblinks







→ zurück zum Hauptartikel: Einführung in MATLAB