MATLAB Executable aus GUI erstellen: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
# Stellen Sie sicher, dass MATLAB Compiler und ein unterstützter C Compiler installiert sind.
1. Stellen Sie sicher, dass MATLAB Compiler und ein unterstützter C Compiler installiert sind.
# Geben Sie den Befehl <code>mbuild -setup</code> ein und wählen Sie Ihren C Compiler aus.
1. 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 6:
   mex -setup C++ -client MBUILD  
   mex -setup C++ -client MBUILD  
   mex -setup FORTRAN -client MBUILD
   mex -setup FORTRAN -client MBUILD
# Geben Sie <code>deploytool</code> in das Command Window ein.
3. Geben Sie <code>deploytool</code> in das Command Window ein.
   >> deploytool
   >> deploytool
3. Wählen Sie
4. Wählen Sie unter <code>MAIN FILE</code> das von GUIDE erzeugte m-File aus.
    Make sure you have MATLAB Compiler and a supported C compiler
5. Drücken Sie <code>Package</code>.
    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.





Version vom 10. Juli 2018, 12:30 Uhr

1. Stellen Sie sicher, dass MATLAB Compiler und ein unterstützter C Compiler installiert sind. 1. 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.




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