|
From: | Amro |
Subject: | [Octave-bug-tracker] [bug #49794] display vs. disp functions |
Date: | Sat, 17 Dec 2016 15:50:28 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.9) Gecko/20100101 Goanna/3.0 Firefox/45.9 PaleMoon/27.0.2 |
Follow-up Comment #24, bug #49794 (project octave): Here's the same running in R2016b: >> version ans = 9.1.0.441655 (R2016b) >> format compact >> x = pi / 4 x = 0.7854 >> disp (x) 0.7854 >> disp (sin (x)) 0.7071 >> disp (0.7071) 0.7071 >> display (x) x = 0.7854 >> display (sin (x)) 0.7071 >> display (0.7071) 0.7071 >> s.a = 1 s = struct with fields: a: 1 >> disp (s) a: 1 >> disp (s.a) 1 >> display (s) s = struct with fields: a: 1 >> display (s.a) 1 Apparently this was a bug in "display" which got fixed in R2016b. You might have also noticed the "header" printed on top of native types. This was added in R2016b, and documented in the release notes: https://www.mathworks.com/help/matlab/release-notes.html?rntext=Command+Window&startrelease=R2016b&endrelease=R2016b&category=Desktop&groupby=release&sortby=descending&searchHighlight=Command+Window _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49794> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |