Simplifying mexfunctions
Versión 1.1.0.0 (2,52 KB) por
William Handler
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.
Citar como
William Handler (2026). Simplifying mexfunctions (https://es.mathworks.com/matlabcentral/fileexchange/32008-simplifying-mexfunctions), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre MATLAB Compiler en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
