Matlab offers a
compiler[
^] (probably at an extra charge, not sure though) to compile their source into a shared library. Once compiled, you should be able to access the code as a dll or a static lib (see compiler specs for what they support).
Alternatively, you can code your own routines based on what you've learned. This approach will probably allow you to optimize your code and run it faster than just using what the Matlab compiler puts out and is generally a better approach for a commercial product.