diff --git a/matlab/trace_plot.m b/matlab/trace_plot.m
index 78216c5c84695264e3d2cd832ad5b78bcd5ff059..38748f41cbaf2183cbede83b88a82a9b04f14f70 100644
--- a/matlab/trace_plot.m
+++ b/matlab/trace_plot.m
@@ -4,10 +4,16 @@ function trace_plot(options_,M_,estim_params_,type,blck,name1,name2)
 %
 % INPUTS 
 %
-%    name
+%   options_        [structure]    Dynare structure.
+%   M_              [structure]    Dynare structure (related to model definition).
+%   estim_params_   [structure]    Dynare structure (related to estimation).
+%   type            [string]       'DeepParameter', 'MeasurementError' (for measurement equation error) or 'StructuralShock' (for structural shock).
+%   blck            [integer]      Number of the mh chain.
+%   name1           [string]       Object name.
+%   name2           [string]       Object name. 
 %    
 % OUTPUTS 
-%    density            [double]    density 
+%   None
 %        
 % SPECIAL REQUIREMENTS