Documentation Center

  • Trial Software
  • Product Updates

coder.mexconfig

Package: coder

Code acceleration configuration object

Syntax

config_obj = coder.mexconfig

Description

config_obj = coder.mexconfig creates a coder.MexConfig code generation configuration object for use with fiaccel, which generates a MEX function.

Output Arguments

config_obj

Code generation configuration object for use when generating MEX functions using fiaccel.

Examples

Create a configuration object to disable run-time checks

cfg = coder.mexconfig
% Turn off Integrity Checks, Extrinsic Calls, 
% and Responsiveness Checks
cfg.IntegrityChecks = false;
cfg.ExtrinsicCalls = false;
cfg.ResponsivenessChecks = false;
% Use fiaccel to generate a MEX function for file foo.m
fiaccel -config cfg foo

See Also

| | | | | | | | | | |

Was this topic helpful?