add_path: A wrapper for Octave's 'addpath' to add 'matlab' folder.

View source: R/add_path.R

add_pathR Documentation

A wrapper for ⁠Octave's⁠ addpath to add matlab folder.

Description

Use this function to add matlab folder. Use this function if Dynare is NOT installed in the standard location

Usage

add_path(path)

Arguments

path

Path to the matlab folder. Default path is ⁠/usr/lib/dynare/matlab⁠ for Linux, ⁠/usr/lib/dynare/matlab⁠ for macOS and ⁠c:/dynare/x.y/matlab⁠ for Windows, where x.y is Dynare version number.

Value

Set of Dynare (open-source software for DSGE modelling) outputs

See Also

Other important functions: DynareR, add_matlab_path(), eng_dynare(), import_log(), include_IRF(), input_tex(), run_dynare(), run_models(), set_dynare_version(), set_octave_path(), write_dyn(), write_mod()

Examples

library(DynareR)
## Not run: 
add_path('/usr/lib/dynare/matlab') #  Default for Linux

add_path('c:/dynare/5.1/matlab') # Default for Windows, but 5.1 can change if later version of
# `Dynare` is installed.

add_path('/usr/lib/dynare/matlab') # Default for macOS


## End(Not run)

DynareR documentation built on Oct. 1, 2023, 1:08 a.m.