Utilities for MEX files

버전 1.1.0.0 (62.7 KB) 작성자: Levente Hunyadi
C utility functions to simplify writing MEX source files and a make command to build them.
다운로드 수: 986
업데이트 날짜: 2010/3/3

라이선스 보기

The package contains a set of C functions and preprocessor macros to simplify writing MEX source files. The routines help check input and output argument count, argument type, dimension and structure in a MEX file. See "common.c" in the subfolder "include" for details.

Sample code is included in the subfolder "example" to demonstrate usage. Examples include squared Euclidean distance between two vectors, a vector and a set of vectors, and between two paired sets of vectors; Kronecker tensor product; Hankel and Toeplitz matrix construction; and catenation of a cell array of sparse matrices into a single sparse matrix.

The package also features a make utility that recompiles all C (.c) and C++ (.cpp) MEX source files in a directory hierarchy using a common include directory, checking modification date to avoid unnecessary recompilation.

인용 양식

Levente Hunyadi (2024). Utilities for MEX files (https://www.mathworks.com/matlabcentral/fileexchange/26825-utilities-for-mex-files), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Added examples on linear algebra and sparse matrix manipulation.

1.0.0.0