I've got a MATLAB project, which I compile in order to have a single executable file, using MCC.
Then I would want to know if it's possible for an external programmer to execute some of his .m files within the .exe, without re-compiling the whole project.
The point is to provide an application in which other developpers could add their "plug-ins", written in MATLAB.
I've searched a way of running external .m files inside compiled MATLAB application (like this thread : Running an .m file from a MATLAB-compiled function) but it doesn't fit my purposes here, altough it's working fine using eval().
But this eval() "trick" isn't sufficient, as it doesn't allow to define new functions or classes. For instance, I would like external .m files to be new classes (inherited from compiled "interfaces" in the executable).
Is there a way to dynamically load .m files into a MATALB compiled executable ? (even if it needs a MATLAB licence to do such).
And/or is there some "undocumented MATLAB" that refers to this particular topic that I could investigate further ?
Regards,