Random source using the Embedded MATLAB Function Block

This is a demonstration of the Embedded MATLAB Function Block, using a portable random number genera

You are now following this Submission

Editor's Note: This file was a File Exchange Pick of the Week

Simulink 6 in Release 14 adds a major step forward in MATLAB language support; the Embedded MATLAB Function block.

This block offers enhanced functionality for creating M-file S-functions.

Unlike the MATLAB Compiler (which is for desktop deployment of the full MATLAB language), Embedded MATLAB Function block integrates with Real-Time Workshop 6 to generate C code from a subset of the MATLAB language that can be deployed on any embedded processor that supports an ANSI C compiler.

Cite As

Colin Warwick (2026). Random source using the Embedded MATLAB Function Block (https://se.mathworks.com/matlabcentral/fileexchange/5026-random-source-using-the-embedded-matlab-function-block), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Corrected version information