Info
此问题已关闭。 请重新打开它进行编辑或回答。
Why is property renamed in fixed-point toolbox in R2012b?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Massimo Ciacci
2015-11-3
编辑:Massimo Ciacci
2015-11-3
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.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!