MATLAB: Can I generate DLLs using MATLAB Coder

matlab coder

I have a MATLAB script in an M file. I want to generate a DLL using MATLAB Coder, can I do this?

Best Answer

Yes, you can generate DLLs for M files using the MATLAB Coder App.
  1. Click through all the required steps until you arrive to the "Generate Code" step.
  2. Click on the drop down arrow besides "Generate"
  3. Select Built type: Dynamic Link Library
  4. Click through all the next steps and generate the DLL.
Here is the complete set of instructions for using the MATLAB Coder App: