matlab-upgrade-mex-ic - Upgrade MEX Files to the Interleaved Complex API
Converts C, C++, and Fortran MEX source files from the Separate Complex API to the Interleaved Complex API, with optional SC/IC guards.
Tags
Updated: 2026-10-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Inspect legacy MEX APIs
- Map legacy accessors
- Convert source files
- Add SC/IC guards
- Provide MEX build commands
- Report upgrade findings
Inputs
- C MEX source files
- C++ MEX source files
- Fortran MEX source files
- Output file choice
- SC/IC compatibility choice
Outputs
- Converted MEX source files
- Upgrade findings
- MEX build commands
Requirements
- MATLAB mex command
- Compatible C, C++, or Fortran compiler
- MATLAB R2018a or later for IC builds
- Uppercase .F extension for guarded Fortran builds
