Main Content

Integrate MATLAB Code into Simulink

Integrate existing MATLAB® code into Simulink®

You can integrate your MATLAB code into Simulink using the MATLAB Function block and MATLAB System block. Use MATLAB Function block to integrate simple functions. Use the MATLAB System block to integrate code that requires state dynamics, large streaming data interface, and interaction with the Simulink engine.

Blocks

MATLAB FunctionInclude MATLAB code in Simulink models
MATLAB SystemInclude System object in model

Topics