Tue 16 May 2017 04:23:48 PM UTC, comment #2:
Oooops, I missed bug reports #49951 and #46034, which were indeed about the same issue...
Apologies for not searching properly for prior bug reports. Feel free to mark this ticket as duplicate.
-----
The situation is indeed unclear in Matlab's documentation, since
1) on the one hand, the 'FormatSpacing' property has been officially removed from the root properties in R2014b according to the release notes
http://fr.mathworks.com/help/matlab/release-notes.html?searchHighlight=FormatSpacing&s_tid=doc_srchtitle
BUT
2) The syntax
is still officially documented as the proper way to get this information
http://fr.mathworks.com/help/matlab/ref/format.html
Judging by your comment on bug report #46000 (2015/09/22) this was already mentioned on the exact same page back then.
-----
To summarize:
The 'FormatSpacing' root property seems to have always been de facto (if not publicly) available in Matlab, and the syntax get(0,'FormatSpacing') appears to never have been removed from Matlab's doc.
The syntax get(0,'FormatSpacing') was working in Octave as well, up to release 4.0.3.
I have to confess, then, that I really don't understand the decision to remove this syntax from Octave 4.2.1.
|