Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dseries
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
dseries
Commits
a519e8a6
Verified
Commit
a519e8a6
authored
2 years ago
by
Stéphane Adjemian
Browse files
Options
Downloads
Patches
Plain Diff
Throw error message if call to X13 binary fails.
parent
12ee7ebb
No related branches found
No related tags found
No related merge requests found
Pipeline
#7892
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/@x13/run.m
+6
-2
6 additions, 2 deletions
src/@x13/run.m
with
6 additions
and
2 deletions
src/@x13/run.m
+
6
−
2
View file @
a519e8a6
...
...
@@ -2,7 +2,7 @@ function run(o, basename)
% Runs x13 program and saves results.
% Copyright © 2017 Dynare Team
% Copyright © 2017
, 2022
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -31,7 +31,11 @@ if ~exist(x13b, 'file')
end
% Run spc file.
[
~
,
~
]
=
system
(
sprintf
(
'%s %s'
,
x13b
,
basename
));
[
errorflag
,
~
]
=
system
(
sprintf
(
'%s %s'
,
x13b
,
basename
));
if
errorflag
error
(
'X13 failed on %s.spc'
,
basename
)
end
o
.
results
.
name
=
basename
;
% Base name of the generated files.
...
...
This diff is collapsed.
Click to expand it.
Stéphane Adjemian
@stepan-a
mentioned in commit
7056f0ea
·
2 years ago
mentioned in commit
7056f0ea
mentioned in commit 7056f0eaf57a24db09239d1776bac5b85c3023ba
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