I'm currently running matlab from the linux command line as follows:
>> opengl software
I had found out that using the openGL command enabled my figures to display otherwise the code would break since linux does not like graphical intensive procedures.
Now, I was wondering if I could avoid typing in this openGL command everytime I run my code by building it into the alias that I made for opening matlab from the linux command line. I am thinking something like this:
alias intmat = "/opt/matlab/R2011a/bin/matlab -nosplash -nodesktop -opengl"
So every time I invoke matlab it should be ready to handle graphics such as figures. The last switch "-opengl" won't work I think. Any suggestions? Is this even possible?