Houtan Bastani
7849707843
fix typo
2014-03-28 15:25:22 +01:00
Sébastien Villemot
f0f355e9b5
Fix typo.
2014-03-27 17:48:13 +01:00
Stéphane Adjemian (Scylla)
5e95824168
Fixed bug in the error message displayed when the mod file is not in the current folder.
2014-03-26 15:43:32 +01:00
Sébastien Villemot
9e332ef305
Forbid MOD file names that are too long.
...
And rename filenames in the testsuite that are too long.
Closes #626
2014-02-28 18:25:02 +01:00
Sébastien Villemot
5308da2cad
Upgrade the minimum requirement to MATLAB 7.5 (R2007b).
2014-02-03 15:52:54 +01:00
Sébastien Villemot
c391876196
Workaround for a strange bug with Octave.
...
If there is any call to exist(fname) before the call to the preprocessor, then
Octave will use the old copy of the .m instead of the newly generated one.
Deleting the .m beforehand fixes the problem.
2014-01-03 14:29:09 +01:00
Sébastien Villemot
66d48f5917
Compatibility fixes for Octave 3.8.
...
- no longer use OCTAVE_QUIT in MEX files; this seems now only possible in
oct-files. (Ref #304 )
- do not build linsolve.oct on Octave >= 3.8, it is available natively.
- do not add strjoin.m to the patch on Octave >= 3.8, it is available natively.
- default_save_options has been renamed save_default_options.
2014-01-03 11:05:39 +01:00
Stéphane Adjemian (Scylla)
01f2dd2ab1
Changed the paths to Dynare's prior and post processing hooks.
2013-11-28 15:21:52 +01:00
Stéphane Adjemian (Scylla)
1ff556ada2
Give more informations if the mod file is not found in the current directory.
2013-11-28 14:49:42 +01:00
Stéphane Adjemian (Scylla)
baa596f9be
Give more details if the mod file is not found in the current directory.
2013-11-28 11:07:14 +01:00
Stéphane Adjemian (Scylla)
b99db45707
Fixed bug (dynare path has to be defined sooner, otherwise isoctave is unknown in warning_config).
2013-11-15 17:03:58 +01:00
Stéphane Adjemian (Charybdis)
ddd95361ba
Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION').
2013-11-04 10:54:45 +01:00
Johannes Pfeifer
3dd62b37c6
Add more explicit error message if mod-file cannot be located of file in different folder is called
2013-10-09 10:22:44 +02:00
Houtan Bastani
45942b244c
stop dynare.m if onlymacro is passed, closes #487
2013-10-01 15:13:18 +02:00
Stéphane Adjemian (Charybdis)
4052d4ccaf
Cosmetic changes. Use skipline() instead of disp(' ').
2013-07-10 17:12:34 +02:00
Stéphane Adjemian (Charybdis)
38f912268a
Added the possibility to use pre and post dynare preprocessor hooks defined by matlab scripts.
2013-06-17 17:52:26 +02:00
Sébastien Villemot
61485ab809
Fix copyright notices
2013-06-12 17:04:46 +02:00
Houtan Bastani
0e5acda10e
bug fix: fputs not a matlab function
2013-03-18 16:25:38 +01:00
Houtan Bastani
aac25a88bd
bug fix: substr not a matlab function
2013-03-18 16:19:48 +01:00
Houtan Bastani
ec9f53a23b
bug fix: single quotes
2013-03-18 16:17:29 +01:00
Sébastien Villemot
cda0e03776
Add preprocessor messages (stdout, stderr) to the logfile
...
Closes #306
2013-03-18 13:44:04 +01:00
Sébastien Villemot
0421387732
Require Octave 3.6, since we use parfor
2012-11-29 14:52:33 +01:00
Houtan Bastani
6c7501d906
move console setting to global_initialization.m
2012-10-30 14:10:54 +01:00
Houtan Bastani
fc7ea133d9
force console mode when matlab started with -nojvm or -nodisplay flags or octave started with --no-window-system flag (ticket 283)
2012-10-30 13:50:51 +01:00
Sébastien Villemot
7de6be31e6
Upgrade the minimum requirement to MATLAB 7.3 (R2006b)
2012-09-18 11:54:40 +02:00
Sébastien Villemot
6adb58dbc1
Remove workaround for Octave 3.2 (we now require 3.4)
2012-09-18 11:42:11 +02:00
Sébastien Villemot
56914e3d4c
Require at least Octave 3.4 (linsolve does not compile against 3.2)
2012-08-23 16:40:00 +02:00
Sébastien Villemot
a44fa426c4
Simplify logic of test since Octave 3.2 is now the minimal requirement
2012-04-04 22:16:39 +02:00
Sébastien Villemot
2057365143
Require at least Octave 3.2.2 (and therefore drop rcond.m and bicgstab.m)
...
Octave 3.2 has been around for a long time, and is included in most
distributions.
2012-04-03 17:57:38 +02:00
Sébastien Villemot
90cb2ffb59
Under Octave >= 3.4, don't sleep for 2 seconds
2012-04-03 17:46:48 +02:00
Stéphane Adjemian (Scylla)
1467bec712
Removed internal documentation an unitary test options from the dynare command. Created instead
...
a specific command named internals.
The internal documentation of a matlab routine can be displayed on screen using the following
syntax:
internals --info <PATH AND NAME OF THE MATLAB ROUTINE>
The unitary tests (if any) associated to a matlab routine are triggered as follows:
internals --test <PATH AND NAME OF THE MATLAB ROUTINE>
+Cosmetic changes in the headers.
2011-09-12 11:46:14 +02:00
Sébastien Villemot
ef26fe0034
Removed obsolete help message
2011-09-08 16:12:31 +02:00
Stéphane Adjemian (Charybdis)
e905ff77c0
Added two new modes for displaying documentation or testing matlab/octave routines.
...
Examples:
dynare --doc <NAME_OF_A_MATLAB_ROUTINE> will display internal documentation of the routine.
dynare --test <NAME_OF_MATLAB_ROUTINE> ... will test the routine(s)
Note that for displaying the internal documentation texinfo must be installed on the system,
because dynare calls makeinfo with --plaintext option.
2011-09-05 18:57:42 +02:00
Sébastien Villemot
7b67f40a11
Bump MATLAB version requirement to 7.0
2011-04-27 11:57:43 +02:00
Sébastien Villemot
02652f6eb8
Updated copyright notices
2011-02-04 17:27:33 +01:00
sebastien
1be52aaa5f
Beautification: removed tabulation characters which were left in previous beautification pass
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3300 ac1d8469-bf42-47a9-8791-bf33cf982152
2010-01-05 10:46:10 +00:00
sebastien
502e3e1df8
Beautified MATLAB code (Unix newline convention + Emacs indentation), except: AIM, swz, particle
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3250 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:17:34 +00:00
sebastien
1e3115e759
Workaround for bug in Octave 3.2, numbered #550823 in Debian BTS, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550823
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3055 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-20 12:58:17 +00:00
sebastien
0787228a9d
trunk dynare.m: completed help message
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2456 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-12 11:20:49 +00:00
stepan
47a4550144
v4.1: "dynare help" issues dynare command synopsis and a description of the options.
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2454 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-12 10:27:06 +00:00
michel
613bfc8f4a
removed empty parentheses for compatibility with earlier Matlab versions
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2338 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-22 21:41:55 +00:00
sebastien
db50368418
v4 matlab: fixed some existing copyright headers (and some other minor header issues)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1974 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-08-01 12:40:33 +00:00
sebastien
d9ffbb3e79
v4 dynare.m: cosmetic changes
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1942 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-08 15:52:55 +00:00
sebastien
57f4d42a5b
v4:
...
* added a warning when Matlab < 6.5 or Octave < 3.0.0
* created octave_ver_less_than.m
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1941 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-07-08 15:45:10 +00:00
sebastien
e08cad8265
v4: merged Octave branch into trunk
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1899 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-24 18:20:48 +00:00
sebastien
b87a453c7e
v4 matlab:
...
* removed sylvester3.m and sylvester3a.m (have been moved to gensylv/ subdir)
* display an error message when dynare called without argument
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1852 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-27 09:46:44 +00:00
sebastien
a31789dcb5
v4 matlab:
...
* replaced obsolete isstr() by ischar()
* fixed typo in erase_compiled_function()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1844 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-23 14:45:37 +00:00
adjemian
e85af5dc11
Added a dynare configuration routine and bug corrections.
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1826 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-05-16 08:18:37 +00:00
sebastien
c72e6ff02e
v4 matlab+preprocessor: fix display of preprocessor error message (was truncated by Matlab if too long)
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1774 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-02 15:01:52 +00:00
sebastien
4a481eaff0
v4 matlab: display preprocessor output even in case of success
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1773 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-04-02 14:41:56 +00:00