Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

Introduced in R2011a

Was this topic helpful?