I have a matlab function that is used in three different ways:
- From within Matlab (.m)
- As a .NET library (.dll)
- As a standalone binary (.exe)
This makes three different artifacts deployed on three different execution environments (or nodes in general). From the .m-file I create the .dll and .exe using Matlab MCC (compiler).
In my current model the files are left unrelated. How would I model that the .dll and .exe are compiled from .m using MCC?
Also, how should I relate the interfaces exposed by each? The environments have very different type systems.