Simplifying mexfunctions

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

Vous suivez désormais cette soumission

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.

Citation pour cette source

William Handler (2026). Simplifying mexfunctions (https://fr.mathworks.com/matlabcentral/fileexchange/32008-simplifying-mexfunctions), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.1.0.0

Added some more methods for integers and vectors

1.0.0.0