Recently I installed MATLAB on my fedora 10, after a long I am taking break from perl like scripting languages, and I found Matlab got installed but was showing a Blank Screen problem, only with ‘start’ button. I will come to this problem in a while, first let see how to install matlab on linux(fedora, ubuntu etc)
STEP I == mount cdrom
STEP II ==* create $MATLAB$ directory (usually /opt/matlab)
STEP III == *standing in the folder MATLAB (here /opt/matlab) run install script in the folder CDROM (./media/CDROM/install) <replace CDROM with the name of mounted folder name for your CD ROM>
To run installed copy of Matlab go to /opt/matlab/bin and run ./matlab
when you will run ./matlab may be you wil get a blank screen for this follow one of the given below steps:
in terminal get root access and then (first way is usually for UBUNTU, but can give a try on fedora also, please share your ecperince in comments for others)
root#vi /etc/environment
add this line export AWT_TOOLKIT=”MToolkit”
save and exit
if you do not see any such file then follow these steps
root# cd /etc/profile.d
root/etc/profile.d# vi matlab.sh (create a file by any name here I had taken matlab.sh )
enter export AWT_TOOLKIT=”MToolkit” and save and close the file
root/etc/profile.d# chmod +x matlab.sh
now either restart the machine or relogin
go to /opt/matlab/bin
and run ./matlab
matlab should run normally
Njoy MATLAB on LINUX (FEDORA, UBUNTU etc.)
_____________________________________
Recently when I tried Matlab R2009a on my newly install Fedora 11, I got errors, (mentioned below with solutions) if you too came across any errors then share here.
Error 1: Error related to libXp and Xsetup
Solution: yum install libXau-devel
yum install libXp
yum install libXp-devel
or try yum install libXp*.*
Hope this will solve your problem also. Soon I will try to set the environment variable and share here. If any one of you know how to do that then please share with others as comments
_________________________________
Creating Symbolic Link for Matlab
In fedora we can create symbolic link by following Steps
Step I: right click “Applications” , click edit
Step II: go to Programming and click add application
Step III: Select “Application in Terminal”
Step IV: Browse to /opt/Matlab/bin and Select matlab.sh
Step V: Ready to go, To njoy matlab go to Applications> Programming> Matlab
Finally we got a symbolic link !
——————————————-
Author : Ashwini Patankar