Let me explain what I am trying to do. I have an application coded in Matlab and I would like to provide it to both Matlab users and non-Matlab users. So you would say : Ju
You can use eval
in deployed applications. You can also read .m
files, since they are nothing but text.
So, read the file, evaluate line by line, and there you go, you have an ability to use 3d party script .m
files in your compiled Matlab program.
You will not be able to use functions in this way, only scripts.
The only thing I am not sure is whether it's legal. I can't guarantee that, you will have to contact Mathworks by yourself.