From octave-maintainers-request at bevo dot che dot wisc dot edu Fri Jan 10 16:11:32 2003 Subject: num2str works differently in 2.1.42,2.1.43 From: Andy Adler To: octave-maintainers at bevo dot che dot wisc dot edu Date: Fri, 10 Jan 2003 17:11:17 -0500 (EST) I don't know whether this is a bug or intentional. num2str now puts leading spaces. I have some code that does: eval(['fname=p',num2str(idx),';']); This no longer works. $ /usr/bin/octave-2.1.36.exe -q octave-2.1.36:1> ['fname=p',num2str(1),';'] ans = fname=p1; $ /usr/local/oct2143-test/bin/octave-2.1.43.exe -q octave-2.1.43:1> ['fname=p',num2str(1),';'] ans = fname=p 1; Andy