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
time-shift
sebastien 2008-05-23 14:45:37 +00:00
parent d511fcf6a0
commit a31789dcb5
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ function dynare(fname, varargin)
% part of DYNARE, copyright Dynare Team (2001-2008)
% Gnu Public License.
dynareroot = dynare_config();
if ~isstr(fname)
if ~ischar(fname)
error ('The argument in DYNARE must be a text string.') ;
end
% Testing if file have extension

View File

@ -1,4 +1,4 @@
function erased_compiled_function(func)
function erase_compiled_function(func)
% erase compiled function with name 'func'
if exist([func '.dll'])