MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guide de l'utilisateur Page 160

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 274
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 159
5 Controlling Code Generation
5-34
Porting Generated Code to a Different Platform
The code generated by the MATLAB Compiler is portable among platforms.
However, if you build an executable from
foo.m on a PC running Windows, that
same file will not run on a UNIX system.
For example, you cannot simply copy
foo.mex (where the mex extension varies
by platform) from a PC to a Sun system and expect the code to work, because
binary formats are different on different platforms (all supported executable
types are binary). However, you could copy either all of the generated C code or
foo.m from the PC to the Sun system. Then, on the Sun platform you could use
mex or mcc to produce a foo.mex that would work on the Sun system.
Note Stand-alone applications require that the MATLAB C/C++ Math
Library be purchased for each platform where the Compiler-generated code
will be executed.
Vue de la page 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 273 274

Commentaires sur ces manuels

Pas de commentaire