How to create a fortran/mex dll?

Hello, I am able to duplicate the result at this link using mex in Window, http://www.mathworks.com/help/matlab/matlab_external/call-matlab-functions-from-fortran-applications.html. this example shows how to create a stand-along application (final product is *.exe). How do I use the same or similar command to create a dll that contains my fortran routines and matlab engine for Window? Final product is *.dll so I can call it from other application.
Thanks!

Categories

Asked:

on 9 Dec 2015

Answered:

on 16 Dec 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!