Embedded MATLAB Example: Using eml.ceval to generate a MEX-Function
by Rick Rosson
17 Oct 2008
(Updated 20 Oct 2008)
This example shows how to generate a MEX-Function from existing C-code using Embedded MATLAB instead
|
Watch this File
|
| File Information |
| Description |
The advantage of this approach, which uses the Embedded MATLAB™ Coder (EMLC) to generate a MEX Function instead of the MEX command, is that EMLC automatically generates not only the core function, but also the wrapper function that provides the interface between MATLAB® and the compiled function.
To build a MEX function, simply type
build mex
at the MATLAB Command Prompt.
Please note: This is an initial version of this example. I will be updating this submission frequently during the next few months. |
| Required Products |
Real-Time Workshop
|
| MATLAB release |
MATLAB 7.7 (R2008b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com