Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Why is property renamed in fixed-point toolbox in R2012b?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Massimo Ciacci
il 3 Nov 2015
Modificato: Massimo Ciacci
il 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.
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!