Learn R Programming

DynareR (version 0.1.4)

add_matlab_path: 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_matlab_path(matlab_path)

Value

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

Arguments

matlab_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.

See Also

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

Examples

Run this code
library(DynareR)
if (FALSE) {
add_matlab_path('/usr/lib/dynare/matlab') #  Default for Linux

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

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

}

Run the code above in your browser using DataLab