ccode() difference in Matlab 2007b and 2012b

1 view (last 30 days)
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.
  2 Comments
Anselm
Anselm on 3 Apr 2013
Yes. The problem is that I use several post-processing functions to process the output of ccode. And in these functions it makes a big difference.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Apr 2013
In R2007 you are probably using the Maple based Symbolic toolbox. In R2012 you would be using the MuPAD symbolic toolbox.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!