File Exchange

image thumbnail

C-MEX Programming Tutorial Examples

version 1.1.0.0 (13.8 KB) by Ilias Konsoulas
This submission contains several C scripts that help as an introduction to C-MEX programming.

4 Downloads

Updated 25 Mar 2015

View Version History

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Contains some basic 2d matrix manipulation functions written in C, and demonstrates the fundamental C-MEX function generation programming requirements.

Cite As

Ilias Konsoulas (2021). C-MEX Programming Tutorial Examples (https://www.mathworks.com/matlabcentral/fileexchange/44163-c-mex-programming-tutorial-examples), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Pink_panther

This is great example, helped compiling to DLL, works in 2020, compiled to mexw64 file.

Ilias Konsoulas

To make the .c source files executable, you must first compile them using the powerful mex command.

MATLAB Release Compatibility
Created with R2011b
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!