You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
William Handler (2026). Simplifying mexfunctions (https://se.mathworks.com/matlabcentral/fileexchange/32008-simplifying-mexfunctions), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (2.52 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
