MATLAB Executable aus GUI erstellen: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
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.
  >> deploytool
# Wählen Sie
     Make sure you have MATLAB Compiler and a supported C compiler
     Make sure you have MATLAB Compiler and a supported C compiler
     Run the command mbuild -setup to select your C compiler
     Run the command mbuild -setup to select your C compiler

Version vom 10. Juli 2018, 12:28 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
  1. Geben Sie deploytool in das Command Window ein.
 >> deploytool
  1. Wählen Sie
   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.



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