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.
# Stellen Sie sicher, dass MATLAB Compiler und ein unterstützter C Compiler installiert sind.
# Geben Sie den Befehl  
# Geben Sie den Befehl <nowiki>mbuild -setup</nowiki> 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


     Make sure you have MATLAB Compiler and a supported C compiler
     Make sure you have MATLAB Compiler and a supported C compiler

Version vom 10. Juli 2018, 12:22 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
   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