mex.h and mexFunction.h difference
显示 更早的评论
Is there a difference between loading mex.h and mexFunction.h files in the beginning of a mex file? It appeared to me that some mex files load mex.h, others load mexFunction.h. But my Matlab 2011b only has mex.h
1 个评论
James Tursa
2012-3-11
mex.h is the header used for mex functions. mexFunction is the name of the gateway routine. What is mexFunction.h?
回答(2 个)
Jan
2012-3-11
0 个投票
[EDITED]: mexFunction.h is a small header to defined the entry point for a DLL, while mex.h is a large header file for all functions available in Mex functions.
类别
在 帮助中心 和 File Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!