How to estimate a simple RBC model?

Hi, I want to estimate a simple RBC model. Is there any example useful for me to learn from?
My mod file attached. Thanks in advance!

Please have a look at https://github.com/JohannesPfeifer/DSGE_mod/blob/master/RBC_baseline/RBC_baseline_first_diff_bayesian.mod

Thanks for your help!! But I also want to estimate it using empirical data.

In the example provided by Johannes, you just have to replace the generated simulated data file first_diff_data.m by a file containing the data you want to use. Other datafile formats are possible, see option datafile here.

Best,
St├ęphane.

Thanks for your help!!