Is it possible to execute .m file by MCR in Ubuntu
4 visualizzazioni (ultimi 30 giorni)
Hi, I have done some image processing in matlab on windows os. That code is executed successfully and gave expected output. But i have to execute it on Ubuntu os. I dont have matlab full software in ubuntu, instead of that i have MCR and it is installed, environment variables had been set as per installation guide. when compiling i got error.
matlab: No MATLAB executable for this machine architecture.
/usr/local/MATLAB/MATLAB_Compiler_Runtime/v717/bin/glnx86/MATLAB does not exist!
My ubuntu architecture is 32 bit. i have installed correctly. I am also given
sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6
for 32 bit installation. Anyway i cant execute my .m file. My doubt is, is it possible to execute .m file without having Matlab full software. With MCR can i execute .m file. Please suggest me to do this.
Daniel Shub il 10 Ott 2013
No. You cannot create a Linux executable from a Windows machine. In order to create an executable you need a full installation of MATLAB and the compiler (as well as any toolboxes your function uses). Once an executable is created, you can then run it with the MCR on a machine without MATLAB.