In MATLAB 7.0 (R14), the CONTOURF function no longer seems to work with three output arguments specified. For example, the following code:
[C,h,Cf]=contourf(peaks);
produces the following error:
??? One or more output arguments not assigned...
The documentation on CONTOURF indicates that three output arguments can be specified.
Best Answer