When I use the "print" command on GNU Octave to save figure/plot I got the following error. The errors were occurred in both Ubuntu 11.10 and Mac OS X.
Warning: queryThe, I ask my friend and he give me the solution. The solution is to comment two lines in cstrcat.m according to the error.
error: value on right hand side of assignment is undefined
error: `tmp' undefined near line 57 column 11
error: evaluating argument list element number 1
error: evaluating argument list element number 1
error: called from:
error: /usr/share/octave/3.2.4/m/strings/cstrcat.m at line 57, column 2
error: /usr/share/octave/3.2.4/m/plot/print.m at line 707, column 7
sudo nano /usr/share/octave/3.2.4/m/strings/cstrcat.mFind the following line,