one

193 days ago by sangil.jwa@gmail.com

3+5 
       
8
8
x=1:3; plot(x) 
       
Traceback (click to the left of this block for traceback)
...
RuntimeError: Unable to start matlab
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_3.py", line 10, in <module>
    exec compile(u"print _support_.syseval(matlab, u'x=1:3; plot(x)', __SAGE_TMP_DIR__)" + '\n', '', 'single')
  File "", line 1, in <module>
    
  File "/sagenb/sage_install/sage-4.7/devel/rkirov-flask/sagenb/misc/support.py", line 470, in syseval
    system.chdir(dir)
  File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/interfaces/matlab.py", line 298, in chdir
    self.eval("cd('%s')"%directory)
  File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/interfaces/expect.py", line 1054, in eval
    return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') if L != ''])
  File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/interfaces/expect.py", line 699, in _eval_line
    self._start()
  File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/interfaces/matlab.py", line 224, in _start
    Expect._start(self)
  File "/sagenb/sage_install/sage-4.7/local/lib/python2.6/site-packages/sage/interfaces/expect.py", line 480, in _start
    raise RuntimeError, "Unable to start %s"%self.__name
RuntimeError: Unable to start matlab
x^3+\sin(x) 
       
x=1:3, sin(x) 
       
x =

1 2 3


ans =

 0.841471 0.909297 0.14112
x =

1 2 3


ans =

 0.841471 0.909297 0.14112
plot(x,sin(x)) 
       
sh: gnuplot: not found
sh: gnuplot: not found
error: compare_versions: version numbers must be a single row
error: evaluating if command near line 78, column 3
error: called from `compare_versions' in file
`/usr/share/octave/3.0.0/m/miscellaneous/compare_versions.m'
error: if: error evaluating conditional expression
error: evaluating if command near line 209, column 5
error: evaluating if command near line 206, column 3
error: called from `drawnow:enhanced_term' in file
`/usr/share/octave/3.0.0/m/plot/drawnow.m'
error: evaluating assignment expression near line 169, column 14
error: evaluating if command near line 138, column 3
error: called from `drawnow:init_plot_stream' in file
`/usr/share/octave/3.0.0/m/plot/drawnow.m'
error: evaluating assignment expression near line 125, column 14
error: evaluating if command near line 117, column 3
error: called from `drawnow:open_gnuplot_stream' in file
`/usr/share/octave/3.0.0/m/plot/drawnow.m'
error: evaluating if command near line 78, column 8
error: evaluating if command near line 77, column 6
error: evaluating if command near line 74, column 4
error: evaluating if command near line 72, column 2
error: evaluating for command near line 71, column 7
error: evaluating if command near line 45, column 5
error: called from `drawnow' in file
`/usr/share/octave/3.0.0/m/plot/drawnow.m'
sh: gnuplot: not found
sh: gnuplot: not found
error: compare_versions: version numbers must be a single row
error: evaluating if command near line 78, column 3
error: called from `compare_versions' in file `/usr/share/octave/3.0.0/m/miscellaneous/compare_versions.m'
error: if: error evaluating conditional expression
error: evaluating if command near line 209, column 5
error: evaluating if command near line 206, column 3
error: called from `drawnow:enhanced_term' in file `/usr/share/octave/3.0.0/m/plot/drawnow.m'
error: evaluating assignment expression near line 169, column 14
error: evaluating if command near line 138, column 3
error: called from `drawnow:init_plot_stream' in file `/usr/share/octave/3.0.0/m/plot/drawnow.m'
error: evaluating assignment expression near line 125, column 14
error: evaluating if command near line 117, column 3
error: called from `drawnow:open_gnuplot_stream' in file `/usr/share/octave/3.0.0/m/plot/drawnow.m'
error: evaluating if command near line 78, column 8
error: evaluating if command near line 77, column 6
error: evaluating if command near line 74, column 4
error: evaluating if command near line 72, column 2
error: evaluating for command near line 71, column 7
error: evaluating if command near line 45, column 5
error: called from `drawnow' in file `/usr/share/octave/3.0.0/m/plot/drawnow.m'