Is it possible to create a "truly" stand-alone application using the mcc
compiler (ie. without the need for Matlab specific library files)?
I've created an executable using mcc -m on Linux with Matlab R13. It
works fine if I call it within Matlab using !, but from the command line
I got the error message;
error while loading shared libraries: libmat.so: cannot open shared
object file: No such file or directory
... and several similar error messages for various files.
I copied each of the "missing files" from their respective Matlab paths
into /usr/lib/ and now it runs fine on this machine. (In hindsight, this
could have probably been done by using a few "setenv" commands.)
If I want to run the application on a machine without Matlab, does this
mean that I would have to copy each of the necessary library files?
A quick search suggested that in Matlab 7 there is an MCRInstaller which
seems as though it effectively copies the Matlab libraries - would this
be backward compatible for R13?
Alternatively, is it possible to avoid the need for these library files
if I want to run this application on a machine without Matlab? In other
words, can the necessary libraries be included in the application somehow?
Any comments greatly appreciated.