Matlab mex manual




















Based on your location, we recommend that you select:. Select the China site in Chinese or English for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Toggle Main Navigation. Search MathWorks. Search MathWorks. Open Mobile Search. Off-Canvas Navigation Menu Toggle. Main Content. Select a Web Site Choose a web site to get translated content where available and see local events and offers.

The -D options define C preprocessor macros. Equivalent to the following in the source file:. The -U option removes any initial definition of the C preprocessor macro, symbolname. Inverse of the -D option. Do not add a space between D or U and symbolname. Example: Define Compiler Directive. Overrides the default compiler selection.

For information about using a non-default compiler, see Change Default Compiler. Do not use the -f option to build engine applications. Use the -client engine option instead. Adds symbolic information and disables optimizing built object code. Use for debugging. Displays help for mex. Use from an operating system prompt. Adds pathname to the list of folders to search for include files.

Do not add a space between I and pathname. Example: Specify Path to Include File. Links with dynamic object library libname in optional libfolder. If used, the -L option must precede the -l option. Do not add a space between l and libname or between L and libfolder. Specify the -l option with the lowercase letter L. To link a static library, use the filenames input argument. Example: Specify Path to Library File.

Displays, but does not execute, commands that mex would execute. Optimizes the object code. Use this option to compile with optimization. Optimization is enabled by default. Specify this option with the capital letter O. Places all output files in folder dirname.

Overrides the default MEX file naming mechanism. Change the default compiler to build lang language MEX files or engine applications. When you use this option, mex ignores all other command-line options. Suppresses informational messages. The mex command still reports errors and warnings, even when you specify -silent. Removes any initial definition of the C preprocessor macro symbolname. Do not add a space between U and symbolname.

Select the China site in Chinese or English for best site performance. Other MathWorks country sites are not optimized for visits from your location. Get trial now.

Toggle Main Navigation. Search MathWorks.



0コメント

  • 1000 / 1000