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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Stéphane Adjemian
dynare
Commits
ac122cfd
Commit
ac122cfd
authored
11 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
write_latex_definitions: use M_ as global
(cherry picked from commit
ea888fe6
)
parent
28853b05
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/write_latex_definitions.m
+4
-2
4 additions, 2 deletions
matlab/write_latex_definitions.m
with
4 additions
and
2 deletions
matlab/write_latex_definitions.m
+
4
−
2
View file @
ac122cfd
function
write_latex_definitions
(
M_
)
function
write_latex_definitions
%function write_latex_definitions
%function write_latex_definitions
% Writes a latex file containing the variable names, latex names, and
% Writes a latex file containing the variable names, latex names, and
% tags/comments
% tags/comments
%
%
% INPUTS
% INPUTS
%
M_
%
none
%
%
% OUTPUTS
% OUTPUTS
% none
% none
...
@@ -29,6 +29,8 @@ function write_latex_definitions(M_)
...
@@ -29,6 +29,8 @@ function write_latex_definitions(M_)
% You should have received a copy of the GNU General Public License
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
global
M_
;
if
M_
.
exo_det_nbr
==
0
if
M_
.
exo_det_nbr
==
0
tables
=
{
'Endogenous'
,
'Exogenous'
,
'Parameters'
};
tables
=
{
'Endogenous'
,
'Exogenous'
,
'Parameters'
};
M_var_root
=
{
'M_.endo'
,
'M_.exo'
,
'M_.param'
};
M_var_root
=
{
'M_.endo'
,
'M_.exo'
,
'M_.param'
};
...
...
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