diff --git a/matlab/dynare.m b/matlab/dynare.m index 91ae8beb4fa970dae26726674e53cca3f9cf4bf0..2a820f55c4ae5516096730fbbe4a8c1071c3c6eb 100644 --- a/matlab/dynare.m +++ b/matlab/dynare.m @@ -33,7 +33,7 @@ function dynare(fname, varargin) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see <http://www.gnu.org/licenses/>. -if strcmpi(fname,'help') +if ~nargin || strcmpi(fname,'help') skipline() disp(['This is dynare version ' dynare_version() '.']) skipline() @@ -41,6 +41,7 @@ if strcmpi(fname,'help') skipline() disp('dynare executes instruction included in FILENAME.mod.') disp('See the reference manual for the available options.') + skipline() return end