Watch this Author's files
Works well, It easily be made compatible with the ppval function too.
Contact us at files@mathworks.com