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
2f2ada12
Commit
2f2ada12
authored
11 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Fix test for availability of xlswrite.
(cherry picked from commit
6d1ee234
)
parent
f67b7f27
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/writedata.m
+3
-4
3 additions, 4 deletions
matlab/writedata.m
with
3 additions
and
4 deletions
matlab/writedata.m
+
3
−
4
View file @
2f2ada12
...
...
@@ -10,7 +10,7 @@ function writedata(fname)
% SPECIAL REQUIREMENT
% none
% Copyright (C) 2007-20
09
Dynare Team
% Copyright (C) 2007-20
14
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -29,9 +29,8 @@ function writedata(fname)
global
M_
oo_
% xlswrite doesn't exist on Octave, and appeared in MATLAB 7.0
if
isoctave
||
matlab_ver_less_than
(
'7.0'
)
error
(
'Function not supported on your version of MATLAB or Octave'
)
if
isoctave
&&
~
user_has_octave_forge_package
(
'io'
)
error
(
'The io package is required to write XLS files from Octave'
)
end
S
=
[
fname
'_endo.xls'
];
...
...
This diff is collapsed.
Click to expand it.
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