Δημοσιεύτηκε: 24 Μαρ 2009, 19:53
από linuxman
panagiotis20 έγραψε:Το έκανα αυτό και δέν δουλεύει, γιαυτό ρώτησα μήπως ξέρετε τι άλλο μπορώ να κάνω.... Με τον εκκινητή απλά εκτελεί το πρόγραμμα αλλά μου βγάζει μόνο την εικόνα εκκίνησης του προγράμματος και μετά τίποτα... δεν ξεκινάει. Υπάρχει τρόπος από εκκινητή να κάνω εκτέλεση μέσα σε τερματικό; γιατί μόνο έτσι τρέχει το πρόγραμμα.

Για δοκίμασε αυτά που γράφει εδώ
έγραψε:
I had the same problem too. I did come up with a great work around for it though.

Open the text editor and create a shell script with the following code:

Code:

#!/bin/sh
export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre
.matlab/bin/matlab -desktop

Note that the .matlab part is the location of the startup file for matlab. Yours is probably different, so change that part. Then just create a launcher and for the command do:

Code:

sh /path/to/script

The "-desktop" part of the command creates a shell for matlab to run in so it doesn't have to be ran from the terminal.