Dynare example in the user guide

I am have been reading the dynare guide and I pasted the code on the command window thinking that it will run but alas its not. Its indicating unidentified function or variable c. How can I resolve this problem. I have understood the procedures but my challenge is to do the example. Is there anything am missing, can someone kindly advise me this.

Dynare code is no executable MAtlab code. Rather, you need to install Dynare, add its Matlab subfolder to the Matlab search path and then run Dynare on the saved .mod-file. See the Dynare Manual for details.