I am using MATLAB Builder NE 3.0.2 (R2009b) to my MATLAB code into a remotable .NET Assembly. This will automatically give me four DLLs (assemblies):
1. DLL containing the interface with MATLAB datatypes
2. DLL containing the interface with Native datatypes
3. DLL containing the actual implementation with MATLAB datatypes (depends on 1)
4. DLL containing the actual implementation with Native datatypes (depends on 2).
I do not wish to use interfaces, so I would only like to get one DLL containing the actual implementation that does not depend on any other DLL or assembly (apart from standard .NET and MATLAB Component Runtime (MCR) DLLs).
Furthermore, it would be more efficient if I could choose which kind of data types I want to use. Typically I either only need MATLAB datatypes or only native data types; I never need both, so it is cumbersome to have them both generated and compiled.
Best Answer