ext = mexext() returns the filename extension for the current platform.
extlist = mexext('all') returns the extensions for all platforms.
A mex file is a type of computer file that provides an interface between Octave or the reference commercial software and functions written in C, C++.
Nelson have also his own C++ API to manage more easily internal nelson's objects.
Nelson cannot load mex generated by others software, BUT you can easily rebuild it for each software target.
ext = mexext()
extlist = mexext('all')