MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guida Utente Pagina 88

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 87
5 Compiler Commands
Using Bundle Files
Bundle files provide a convenient way to group sets of MATLAB Compiler
options and recall them as needed. The syntax of the bundle file option is
-B <filename>[:<a1>,<a 2>,. ..,<an>]
When use d on the mcc command line, the bundle option -B replaces the entire
string with the contents of the specified file. The file should contain only
mcc
command line options and corresponding arguments and/or other filenames.
Thefilemaycontainother
-B options.
A bundle file can include r eplacement parameters for MATLAB Compiler
options that accept names and version numbers. Fo r example, there is a
bundle file for C shared libraries,
csharedlib, that consists of
-W lib:%1% -T link:lib
To i n voke MATLAB Compiler to produce a C shared library using this bundle,
you could use
mcc -B csharedlib:mysharedlib myfile.m myfile2.m
In general, each %n% in the bundle file will be replaced with the correspondi ng
option specified to the bundle file. Use
%% to include a % character. It is an
error to p ass to o many or too few options to the bundle file.
5-8
Vedere la pagina 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 353 354

Commenti su questo manuale

Nessun commento