Tutorial: C mex matrix demo

버전 1.0.0.0 (134 KB) 작성자: Nick Clark
Index matrix in C like you would do in MATLAB!
다운로드 수: 4K
업데이트 날짜: 2007/12/21

라이선스 보기

This short tutorial illustrates basic numerical matrix computation in C. I encourage any comments from expirienced mex programmers for style improvement.

This is a nice little function to demonstrate how you can interface MATLAB and C style matricies. There is some example code included showing how you can index your C matricies like you can in MATLAB and how you can use a little function to pass data between them. The actual function is trivial, but illustrates different methods of handling multi-dimensional data using pointers.

This latest version includes updates and copies emails regarding different methods from James Tursa.

인용 양식

Nick Clark (2024). Tutorial: C mex matrix demo (https://www.mathworks.com/matlabcentral/fileexchange/17970-tutorial-c-mex-matrix-demo), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Earth, Ocean, and Atmospheric Sciences에 대해 자세히 알아보기

Community Treasure Hunt

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

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

* New files added
* PDF instructions and email contributions from other authors added.