Simplifying mexfunctions

I wrote a class to be included in the mexfunction file to make processing of mexfunction simpler.

您现在正在关注此提交

To avoid code repetition in mexfunctions you can use this class to convert from the mxArray array passed into mexFunction to c++ native data types. Each method implemented so far checks that the mxArray has the desired type and size and exists. I plan on adding new types as they crop up in our code development, though this initial class could easily be useful if you intend to code more than one mexfunction.

引用格式

William Handler (2026). Simplifying mexfunctions (https://ww2.mathworks.cn/matlabcentral/fileexchange/32008-simplifying-mexfunctions), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 MATLAB Compiler 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.1.0.0

Added some more methods for integers and vectors

1.0.0.0