Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Why is property renamed in fixed-point toolbox in R2012b?

1 Ansicht (letzte 30 Tage)
Kevin
Kevin am 17 Jan. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi everyone,
I am just curious why every now and then Mathworks would rename either function or (in this case) property name.
Before R2012b, fimath has a property called 'RoundMode'. But in R2012b, this property is renamed to 'RoundingMethod". Luckily the fixed-point toolbox still accepts the old property name (so it is backward compatiable).
This has actually screwed up the fixed-point toolbox user guide (for R2012b) a little bit. In pp. 4-5, it uses the old property name and in pp. 4-6 it uses the new property name.
Does anyone know the reason of simply renaming a property?
Thanks Kevin
  1 Kommentar
Massimo Ciacci
Massimo Ciacci am 3 Nov. 2015
Bearbeitet: Massimo Ciacci am 3 Nov. 2015
After two years yet no comment on this... which is quite annoying indeed. My hunch is that someone complained that Round wa unclear and should become Rounding, and that Modes should be distinguished into Methods and Actions, which adds very little to the intelligibility, and break code compatibility. A real pity.
Moreover it is hard to find a page that summarizes in which version things got renamed or added. For instance the data property "storedInteger" of the class fi seems to be unavailable in Matlab before R2012b. Luckily we can get around this with the data property "int" which seems to do the same thing. This data property can be used as if it were a function on arrays of type fi, like storedInteger(fi_Array) should be written int(fi_Array) in versions before R2012b.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by