"Bruno Luong" <firstname.lastname@example.org> wrote in message <email@example.com>... > You might try to compile with -C option and > http://www.mathworks.com/help/toolbox/compiler/brl4_f1-1.html > > and define MCR_CACHE_ROOT environment variable so that the ctf file does extract the *_mcr at the folder where it is freed from automatically cleaning every time the computer reboots. > > Bruno
Bruno, thank you! It sounds like that might be the problem. I have no clue about what i should do but i will study on it. I actually hope to get a result..
One more thing that i forgot to mention; the code i gave above creates a java frame and when i compile it, it doesnt work like a figure window. After appearing on screen it suddenly disappears and my application terminates (i also checked from task manager). I know that using a Matlab figure instead of a java frame is a solution but is it possible to use a java frame with a reasonable way? (using a pause shouldnt be one for example..)