Embedded MATLAB Demonstrations
Introduction
Simulink 6 introduces the first phase of support for the Embedded MATLAB
Function block. In this initial version, the block is equipped to support
a subset of the MATLAB language and a sizeable run-time library of built-in
functions identical to the MATLAB functions of the same name. It handles
the matrix math expressions made famous in MATLAB, discrete sample times,
multiple input and output ports, intrinsic datatypes, block parameters,
and persistent data. Most of all, it is supported by Real-Time Workshop
and Real-Time Workshop Embedded Coder to produce production code for
demanding applications. This same functionality is available in Stateflow
as a new type of graphical function, the Embedded MATLAB Function.
The Embedded MATLAB Function block can be found in the User-Defined
Functions section of the Simulink library.
Demonstrations