make command matlab makefile

17 Ansichten (letzte 30 Tage)
ander
ander am 2 Feb. 2015
Kommentiert: Image Analyst am 6 Dez. 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

Antworten (2)

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

Melden Sie sich an, um zu kommentieren.


Image Analyst
Image Analyst am 2 Feb. 2015
What happens when you run deploytool or run mcc? Do they not compile everything that it needs to?
  4 Kommentare
Image Analyst
Image Analyst am 2 Feb. 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 am 2 Feb. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by