mcc - How to run external .m code in a MATLAB compiled application? -


i've got matlab project, compile in order have single executable file, using mcc.

then want know if it's possible external programmer execute of .m files within .exe, without re-compiling whole project.

the point provide application in other developpers add "plug-ins", written in matlab.

i've searched way of running external .m files inside compiled matlab application (like thread : running .m file matlab-compiled function) doesn't fit purposes here, altough it's working fine using eval().

but eval() "trick" isn't sufficient, doesn't allow define new functions or classes. instance, external .m files new classes (inherited compiled "interfaces" in executable).

is there way dynamically load .m files matalb compiled executable ? (even if needs matlab licence such).

and/or there "undocumented matlab" refers particular topic investigate further ?

regards,

i think way system calls compiled function, like:

mfile2launch='foo'; %%% or whatever input system(['matlab -r "' mfile2launch '"']); 

or can use more complicated line make sure work well:

system(['matlab -nodesktop -nosplash -nodisplay -r "try, ' mfile2launch '; end; quit"']) 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -