standalone and nohup (linux-bash)
Hi Kaustubha,
I dare to contact you because you gave a precise answer to a question I had on a post : http://www.mathworks.com/matlabcentral/answers/7519-is-it-possible-to-run-a-built-exe-without-mcr.
I have two related questions : I use a compiled program from my .m code. I'm under linux (ubuntu) and I am using MAtlab 11b and MCR v716.
Here are my questions : 1) Even I did set the environment variable correctly (I think), I still need to specify the directory of the MCR when starting the compiled program ( ./run_myprogram.sh MCRlocation/ 'params'). Is it normal ? Do you have an idea where it could come from ?
2) I want to run program through the network on a distant machine. For this, with my own program in C or fortran, I was used to connect via ssh and then use 'nohup'( command : nohup ./myprogram.out). It turns out it does not work with matlab compiled files while it is OK with my C/fortram program. I guess this might be due to the dynamic compilation, even if I am not sure. Do you have any idea ? I did try to rewire the standard io of the shell without success. Is there a scpecial link to rewire with MCR ?
Thank you by advance for your help, best regards, Francois.
0 Comments
Answers (0)
See Also
Categories
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!