MATLAB: How to use the .DLL files from the MATLAB installation in the own deployable application

built-incustomdeploydeploymentdlllicensingMATLABMATLAB Compiler

I have a licensed copy of MATLAB, but want to use a .DLL library from the MATLAB installation path and compile it in my own application to create .MAT files.
Are there licensing issues when using the .DLL libraries from a base installation of MATLAB? How can I go about using the .DLL files to create my own deployable application?

Best Answer

You can link in the MAT-file library by following the directions in the documentation for loading MAT-file. Executing the following command at the MATLAB prompt will open the documentation on how to go about using the built-in .DLL libraries to write .MAT files from third-party applications.
web([docroot '/techdoc/matlab_external/f19027.html#f20073'])