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-bf33cf982152time-shift
parent
d511fcf6a0
commit
a31789dcb5
|
@ -19,7 +19,7 @@ function dynare(fname, varargin)
|
||||||
% part of DYNARE, copyright Dynare Team (2001-2008)
|
% part of DYNARE, copyright Dynare Team (2001-2008)
|
||||||
% Gnu Public License.
|
% Gnu Public License.
|
||||||
dynareroot = dynare_config();
|
dynareroot = dynare_config();
|
||||||
if ~isstr(fname)
|
if ~ischar(fname)
|
||||||
error ('The argument in DYNARE must be a text string.') ;
|
error ('The argument in DYNARE must be a text string.') ;
|
||||||
end
|
end
|
||||||
% Testing if file have extension
|
% Testing if file have extension
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
function erased_compiled_function(func)
|
function erase_compiled_function(func)
|
||||||
% erase compiled function with name 'func'
|
% erase compiled function with name 'func'
|
||||||
|
|
||||||
if exist([func '.dll'])
|
if exist([func '.dll'])
|
||||||
|
|
Loading…
Reference in New Issue