Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Commits
d4217c02
Verified
Commit
d4217c02
authored
6 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Provisions for Octave 5
parent
073f5dd6
No related branches found
No related tags found
No related merge requests found
Pipeline
#882
passed
6 years ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/dynare_config.m
+4
-4
4 additions, 4 deletions
matlab/dynare_config.m
matlab/warning_config.m
+1
-0
1 addition, 0 deletions
matlab/warning_config.m
with
5 additions
and
4 deletions
matlab/dynare_config.m
+
4
−
4
View file @
d4217c02
...
...
@@ -83,8 +83,8 @@ if ~isoctave
p
{
end
+
1
}
=
'/missing/vec'
;
end
% ordeig() doesn't exist in Octave
if
isoctave
% ordeig() doesn't exist in Octave
< 5
if
isoctave
&&
octave_ver_less_than
(
'5'
)
p
{
end
+
1
}
=
'/missing/ordeig'
;
end
...
...
@@ -117,8 +117,8 @@ if ~exist('struct2array')
p
{
end
+
1
}
=
'/missing/struct2array'
;
end
% isfile is missing in Octave and Matlab
<
R2017b
if
isoctave
||
matlab_ver_less_than
(
'9.3'
)
% isfile is missing in Octave
< 5
and Matlab
<
R2017b
if
(
isoctave
&&
octave_ver_less_than
(
'5'
))
||
(
~
isoctave
&&
matlab_ver_less_than
(
'9.3'
)
)
p
{
end
+
1
}
=
'/missing/isfile'
;
end
...
...
This diff is collapsed.
Click to expand it.
matlab/warning_config.m
+
1
−
0
View file @
d4217c02
...
...
@@ -47,6 +47,7 @@ if isoctave
warning
(
'off'
,
'Octave:variable-switch-label'
);
warning
(
'off'
,
'Octave:fortran-indexing'
);
warning
(
'off'
,
'Octave:classdef-to-struct'
);
warning
(
'off'
,
'Octave:legacy-function'
);
% For strmatch and isdir
else
% In MATLAB >= 7.7, don't display a warning if we use deprecated
% interface to set seed of random number generators
...
...
This diff is collapsed.
Click to expand it.
Sébastien Villemot
@sebastien
mentioned in commit
42578676
·
6 years ago
mentioned in commit
42578676
mentioned in commit 42578676fb6ec8419745259b68d99d0d1cb69b36
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment