MATLAB: Ccode() difference in Matlab 2007b and 2012b

ccodeMATLAB

Hi,
I'm getting different results of ccode with different versions. Is there a way to change that?
the command: ccode(sym(0.99,'d'))
matlab 2007 out => t0 = 0.99;
matlab 2012 out => t0 = 9.9E-1;
Thanks for the support.

Best Answer

In R2007 you are probably using the Maple based Symbolic toolbox. In R2012 you would be using the MuPAD symbolic toolbox.