Prev: colorbar problem
Next: extracting data from graphs
From: Andrea Giovanardi on 12 Apr 2010 05:20 Hello everybody, I use Matlab 2008b and I usually use the Compiler to build .exe file starting from .m files, using the mmc function. Then I use these .exe in others pc of my organization. Recently I encourred in the error specified in object when using the .exe file in a target pc. In the target pc was previously installed the MCR and the pc is still working fine with others Matlab-compiled .exe. Did anyone experience the same error? Can anyone suggest me a way to solve it? (Matlab help seems not to clear to me about the topic) Thank you very much in advance, Best Regards, Andrea
From: kinor on 12 Apr 2010 05:40 "Andrea Giovanardi" <news4andre(a)gmail.com> wrote in message <hpuok4$3un$1(a)fred.mathworks.com>... > Hello everybody, > > I use Matlab 2008b and I usually use the Compiler to build .exe file starting from .m files, using the mmc function. > Then I use these .exe in others pc of my organization. > Recently I encourred in the error specified in object when using the .exe file in a target pc. > In the target pc was previously installed the MCR and the pc is still working fine with others Matlab-compiled .exe. > > Did anyone experience the same error? > Can anyone suggest me a way to solve it? > (Matlab help seems not to clear to me about the topic) > > Thank you very much in advance, > Best Regards, > Andrea Hi Andrea, have a look here http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/brtm1xm-8.html hth kinor
From: Andrea Giovanardi on 12 Apr 2010 08:12 > Hi Andrea, > > have a look here > > http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/brtm1xm-8.html > > hth > kinor Dear Kinor, thanks for your answer. I had already read the page you suggest me, but it was not so useful to me, probably because I am not experienced with CTF files( ? ). I don't have any CTF file, but only the mccExcludedFiles.log, the readme.txt, the .exe file, the .prj file, and 3 .c files. I can add some details, that makes the question more strange. The same "matlab-compiled" .exe file, in a different computer, with the same MCR installed, works fine. Any suggestion is welcome. Thank you. Andrea
From: kinor on 12 Apr 2010 09:30 "Andrea Giovanardi" <news4andre(a)gmail.com> wrote in message <hpv2mk$rj7$1(a)fred.mathworks.com>... > > Hi Andrea, > > > > have a look here > > > > http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/brtm1xm-8.html > > > > hth > > kinor > > Dear Kinor, thanks for your answer. > I had already read the page you suggest me, but it was not so useful to me, probably because I am not experienced with CTF files( ? ). I don't have any CTF file, but only the mccExcludedFiles.log, the readme.txt, the .exe file, the .prj file, and 3 .c files. > I can add some details, that makes the question more strange. The same "matlab-compiled" .exe file, in a different computer, with the same MCR installed, works fine. > Any suggestion is welcome. > Thank you. > Andrea Hi Andrea, sorry that my answer was without any value for you. I have no ctf-files either because they are embedded by default. But: I already encountered the same error, my way to solve the problem for windows: go to C:\Documents and Settings\%username%\Local Settings\Temp\%username%\ choose the directory for the appropriate runtime in this directory and delete the directory of your application inside. hth kinor
From: Andrea Giovanardi on 13 Apr 2010 03:46
> Hi Andrea, > > sorry that my answer was without any value for you. I have no ctf-files either because they are embedded by default. But: I already encountered the same error, > my way to solve the problem for windows: > > go to > C:\Documents and Settings\%username%\Local Settings\Temp\%username%\ > choose the directory for the appropriate runtime in this directory and delete the directory of your application inside. > > hth > kinor Dear Kinor, thank you so much! The steps you told me are the solution of the problem! :) I deleted the directory of my application inside 'C:\Documents and Settings\%username%\Local Settings\Temp\%username%\mcrCache7.9' and now the software works fine. I didn't understand that this would be the correct way to solve the problem by the matlab help you suggested to me firstly. Sincerely, Andrea |