MATLAB: Do I receive errors when I execute the examples in the documentation of HINFSYN function in Robust Control Toolbox 3.0.2 (R14SP3)

Robust Control Toolbox

I am executing example 2 and example 3 in the documentation for the HINFSYN function in Robust Control Toolbox 3.0.2 (R14SP3).
When executed, I receive a syntax error:
Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.

Best Answer

This bug has been fixed in Release 2007b (R2007b). For previous product releases, read below for any possible workarounds:
This is an error within the documentation for Robust Control Toolbox 3.0.2 (R14SP3) within the example 2 and example 3 in the HINFSYN function documentation. The documentation should read:
P=augw(G,W1,W2,W3);
instead of the line
P=(G,W1,W2,W3);