make command matlab makefile

17 visualizaciones (últimos 30 días)
ander
ander el 2 de Feb. de 2015
Comentada: Image Analyst el 6 de Dic. de 2020
hi everybody, is possible to compile a makefile using make command in matlab. I need to generate .lib file and it will be formidable doing that from matlab from a .m file.
normally in windows (cygwin) a used to make makefile.
thanks for all

Respuestas (2)

xudong liu
xudong liu el 6 de Dic. de 2020
fine
  1 comentario
Image Analyst
Image Analyst el 6 de Dic. de 2020
How is this an answer to the original, 6 year old question about how to compile code into a .lib file?

Iniciar sesión para comentar.


Image Analyst
Image Analyst el 2 de Feb. de 2015
What happens when you run deploytool or run mcc? Do they not compile everything that it needs to?
  4 comentarios
Image Analyst
Image Analyst el 2 de Feb. de 2015
ander's "Answer" moved here:
The makefile is something external, is not nothing relationated to get .exe or something similar. I need to use a make command to get and .lib library. only that.
Image Analyst
Image Analyst el 2 de Feb. de 2015
Did you see makefile mentioned in the help for mcc? I didn't. Perhaps you mean a bundle file or option file. See the -B and -f options in the help for mcc. If that's not it and you can't find it elsewhere in the help, then call the Mathworks (who will probably recommend the -B or -f option to you).
-B Specify Bundle File
Replace the file on the mcc command line with the contents of the specified file. Use
-B filename[:<a1>,<a2>,...,<an>]
The bundle file filename should contain only mcc command-line options and corresponding arguments and/or other file names. The file might contain other -B options. A bundle file can include replacement parameters for Compiler options that accept names and version numbers. See Using Bundle Files to Build MATLAB Code for a list of the bundle files included with MATLAB Compiler.
-f Specified Options File
Override the default options file with the specified options file. Use
-f filename
to specify filename as the options file when calling mbuild. This option lets you use different ANSI compilers for different invocations of MATLAB Compiler. This option is a direct pass-through to mbuild.

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by