image thumbnail

Random source using the Embedded MATLAB Function Block

version (9.2 KB) by Colin Warwick
This is a demonstration of the Embedded MATLAB Function Block, using a portable random number genera


Updated 12 Jul 2004

View License

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 (2022). Random source using the Embedded MATLAB Function Block (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!