필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
Kevin
Kevin 2013년 1월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
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
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!

Translated by