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.