|
Hi,
so I solved the problem. I know this solution according to the Matlab Support, where the following is written:
1. Create java.opts file:
Create a text file named java.opts in the $MATLABROOT/bin/$ARCH directory.
When I double click on my EXE on the targed computer, the ctf file is extracte and a new folder creates. In this folder there is also a bin/win32 subfolder. In this subfolder I copied my java.opt file (this is the same way as I did on my computer to work around this problem, but in the Matlab root). But it still didn't work. On Yair's tip I read again:
If you do not have write-access to $MATLABROOT/bin/$ARCH, or if you want a user-specific version, create the java.opts file in the MATLAB startup directory. The MATLAB startup directory can be found by executing the following at the MATLAB Command Prompt (before any MATLAB code is executed):
pwd
So I copied the java.opt file where my EXE file is also. And now it works!
@ Yair: Thanks for your answer!
|