This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Deploy Fuzzy Inference Systems

You can deploy a fuzzy inference system (FIS) by generating code in either Simulink® or MATLAB®. All fuzzy inference system options, including custom inference functions, support code generation.

Generate Code in Simulink

You can generate code for evaluating fuzzy inference systems in Simulink using the Fuzzy Logic Controller block. You can generate code for double-precision, single-precision, or fixed-point data using Simulink Coder™ or Simulink PLC Coder™.

For more information, see Generate Code for Fuzzy System Using Simulink Coder and Generate Structured Text for Fuzzy System Using Simulink PLC Coder.

Generate Code in MATLAB

You can generate code for evaluating fuzzy inference systems in MATLAB. You can generate code for double-precision or single-precision data using MATLAB Coder.

Code generation in MATLAB does not support fuzzy inference system objects. Instead, convert your fuzzy system into a homogeneous structure using getFISCodeGenerationData, and pass the resulting structure to evalfis.

For more information, see Generate Code for Fuzzy System Using MATLAB Coder.

Note

Code generation does not support the construction of fuzzy systems at the command line.

See Also

Functions

Blocks

Related Topics