% VERSION 2.0, MARCH 1997, COPYRIGHT H. UHLIG. % DO_IT.M performs all the calculations and calls output- % creating routines. It assumes, that all required variables have been set % Copyright: H. Uhlig. Feel free to copy, modify and use at your own risk. % However, you are not allowed to sell this software or otherwise impinge % on its free distribution. sol_out; if DISPLAY_LATER & (max(size(warnings)) > 1), disp('======================================================================='); disp('Your messages: (You can turn me off with DISPLAY_LATER = 0)'); disp(warnings); disp('======================================================================='); end; impresp; moments; mom_out; if DO_SIMUL, simul; sim_out; end; if DO_MOMENTS, moments; mom_out; end; if DISPLAY_AT_THE_END & (max(size(warnings)) > 1), disp('======================================================================='); if DISPLAY_LATER | DISPLAY_IMMEDIATELY, disp('Again, your (warning) messages: (You can turn me off with DISPLAY_AT_THE_END = 0)'); else disp('Your messages: (You can turn me off with DISPLAY_AT_THE_END = 0)'); end; disp(warnings); disp('======================================================================='); else disp('(Note: Messages will be displayed here with DISPLAY_AT_THE_END = 1)'); end;