Main Content

Deploy Fuzzy Inference Systems

You can deploy your fuzzy inference system (FIS) by:

  • Generating code in MATLAB® or Simulink®

  • Packaging and deploying a standalone application in MATLAB or Simulink

All fuzzy inference system options, including custom inference functions, support code generation and deployment.

Generate Code in MATLAB

You can generate code for evaluating the following types of fuzzy inference systems using MATLAB Coder™.

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

Code generation for fuzzy systems in MATLAB supports double-precision and single-precision data.

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.

Generate Code in Simulink

You can generate code for evaluating fuzzy inference systems implemented in Simulink using Simulink Coder or Simulink PLC Coder™.

Simulink code generation supports the following blocks:

Code generation for fuzzy systems in Simulink supports double-precision, single-precision, and fixed-point data.

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

Deploy Fuzzy Systems

You can package and deploy standalone applications that include fuzzy systems using either MATLAB Compiler™ or Simulink Compiler.

You can compile:

See Also

Functions

Blocks

Related Topics