I have more information.
It turns out the Scientific Linux problem was not Matlab but me (surprise, surprise). That system is working now.
But the Ubuntu one seems real enough. Take my program out of the picture and run Matlab on Ubuntu 11.04 with all updates.
status = web('http://www.mathworks.com')
returns 0 signifying success but the windows says "This page does not display correctly in your version of the MATLAB Web Browser." And gives a link "Please use the link below to open the page in your default system browser:
http://www.mathworks.com/index.html"
but clicking on it does nothing.
status = web('http://www.mathworks.com', '-browser')
Also returns 0 but no browser is opened.
[status, result] = system('firefox http://www.mathworks.com')
gives:
status =
1
result =
/usr/lib/chromium-browser/chromium-browser: /usr/local/MATLAB/R2011b/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/chromium-browser/chromium-browser)
/usr/lib/chromium-browser/chromium-browser: /usr/local/MATLAB/R2011b/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/chromium-browser/chromium-browser)
Googling `GLIBCXX_3.4.11' not found suggests I have an incompatible version of gcc/g++ libraries on my system.
I have the latest released in the Ubuntu repositories:
$ g++ --version
g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Do I need to find a version 3.4 of libstdc++ to do this?
If so anyone know how to do that so I can both run Matlab and an only mildly out of date version of g++. According to gnu the latest is 4.6.2 and 3.4.6 is from 2006.
I am running Matlab 2011b downloaded and installed about 2 weeks ago.