MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guida Utente Pagina 166

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 165
5 Controlling Code Generation
5-40
Including M-File Information in Compiler Output
The annotation options allow you to control the type of annotation in the
Compiler-generated C or C++ code. These options let you include the comments
and/or source code from the initial M-file(s) as well as
#line preprocessor
directives. You can also use an annotation option to generate source file and
line number information when you receive run-time error messages. To control
code annotation, use
-A <option>
You can combine annotation options, for example, selecting both comments and
#line directives. The remaining sections focus on the different choices you can
use.
Controlling Comments in Output Code
Use the annotation:type option to include your initial M-file comments and
code in your generated C or C++ output. The possible values for
type are
all
comments
none
Not specifying any annotation type uses the default of all, which includes the
complete source of the M-file (comments and code) interleaved with the
generated C/C++ source.
The following sections show segments of the generated code from this simple
Hello, World example:
function hello
% This is the hello, world function written in M code
fprintf(1,'Hello, World\n' );
Note To improve the readability of your generated code, turn off
optimizations with
-O none or -g. The examples in this section have
optimizations off.
Vedere la pagina 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 273 274

Commenti su questo manuale

Nessun commento

Minuteman Smart Up Series manuels

Manuels d'utilisation et guides de l'utilisateur pour Alimentations sans interruption (UPS) Minuteman Smart Up Series.
Nous fournissons des manuels en pdf 2 Minuteman Smart Up Series à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Alimentations sans interruption (UPS) Minuteman

Modèles Type de document
MBK-E Series Manuel de l'utilisateur   Minuteman MBK-E Series User`s manual, 2 pages
Endeavor Manuel de l'utilisateur   Minuteman Endeavor User`s manual, 17 pages
AT1200 Manuel du propriétaire   Minuteman AT1200 Owner`s manual, 14 pages
BP192RTXL Manuel de l'utilisateur   Minuteman BP192RTXL User`s manual, 12 pages
Continuous Power Series Manuel de l'utilisateur   - Parker Sweeper, 12 pages
Pro 2200r Informations techniques   Minuteman Pro 2200r Technical information, 50 pages
MCP 10001 Spécifications   Minuteman MCP 10001 Specifications [en] , 27 pages
Continuous Power Series Manuel de l'utilisateur    Minuteman Continuous Power Series User`s manual, 44 pages
Pro 2200r Spécifications   Minuteman Pro 2200r Specifications, 125 pages