I think you misunderstand my need. I can get the speed of light anywhere. I am interested in using a collection of java tools in the framework of matlab/octave. The example I gave was only for the purpose of showing what I can do in matlab and not do in Octave.