C & mex file example
by Mary Brzezenski
03 Aug 2005
(Updated 03 Aug 2005)
Sample C program with mex statements, with m-file script to run executable, and author's output in t
|
Watch this File
|
| File Information |
| Description |
The program mex_test.c is a basic example of how to use mxArray *prhs[] in mexFunction entry embedded in C code. The executable should accept 3 input args of different data types: 1 string, 1 double and 1 int32 array. The program allows a user to input a NULL for any of the input arguments, to demonstrate some basic error handling.
A test script m-file and a text file with the author's test output is also included. |
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
| Other requirements |
Windows XP platform
Lcc C version 2.4 linker |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 04 Aug 2005 |
Robert Young
|
|
|
|
Contact us at files@mathworks.com