MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de usuario Pagina 235

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 274
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 234
mcc
7-49
mcc -t -L C myfun
Make a generic C++ translation of myfun.m:
mcc -t -L Cpp myfun
Make a C MEX wrapper file from myfun1.m and myfun2.m:
mcc -W mex -L C myfun1 myfun2
Make a C translation and a stand-alone executable from myfun1.m and
myfun2.m (using one mcc call):
mcc -m myfun1 myfun2
Make a C translation and a stand-alone executable from myfun1.m and
myfun2.m (by generating each output file with a separate mcc call):
mcc -t -L C myfun1 % Yields myfun1.c
mcc -t -L C myfun2 % Yields myfun2.c
mcc -W main -L C myfun1 myfun2 % Yields myfun1_main.c
mcc -T compile:exe myfun1.c % Yields myfun1.o
mcc -T compile:exe myfun2.c % Yields myfun2.o
mcc -T compile:exe myfun1_main.c % Yields myfun1_main.o
mcc -T link:exe myfun1.o myfun2.o myfun1_main.o
Note On PCs, filenames ending with .o above would actually end with .obj.
Compile
plus1.m into an Excel add-in:
mcc -B 'cexcel:addin:addin:1.0' plus1.m
Vista de pagina 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 273 274

Comentarios a estos manuales

Sin comentarios