bymatlab· 88 skills
Upgrade C, C++, and Fortran MEX source files from the Separate Complex (SC) API to the Interleaved Complex (IC) API. Use when converting mxGetPr/mxGetPi to mxGetComplexDoubles, migrating MEX files to -R2018a, adding MX_HAS_INTERLEAVED_COMPLEX guards for SC/IC guarded builds, or modernizing legacy MEX code that uses mxGetData/mxSetData/mxGetImagData/mxSetImagData. Covers C (.c), C++ (.cpp, .cxx), and Fortran (.F, .f90) MEX functions. Triggers on: interleaved complex, IC MEX, mex upgrade, mex migration, separate complex, mxGetPi, mxGetPr replacement, -R2018a, complex MEX, Fortran MEX, .F MEX file, C++ MEX, .cpp MEX file, MEX performance, MEX slow complex, MEX call overhead, improve MEX performance complex.
$npx -y skills add matlab/matlab-agentic-toolkit --skill matlab-upgrade-mex-icInstalls into the current project.
Run `npx skills use "https://github.com/matlab/matlab-agentic-toolkit" --skill "matlab/matlab-agentic-toolkit/matlab-upgrade-mex-ic"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/matlab/matlab-agentic-toolkit" that are relevant to the current task. Run `npx skills add "https://github.com/matlab/matlab-agentic-toolkit"` and select the relevant skills, then follow their instructions.