Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
99da257e
Commit
99da257e
authored
Oct 12, 2011
by
Sébastien Villemot
Browse files
Merge remote-tracking branch 'houtanb/master'
parents
2b37eae3
4c1fe625
Changes
38
Hide whitespace changes
Inline
Side-by-side
m4/ax_mexopts.m4
View file @
99da257e
...
...
@@ -66,17 +66,15 @@ case ${MATLAB_ARCH} in
MACOSX_DEPLOYMENT_TARGET='10.6'
if test "${MATLAB_ARCH}" = "maci"; then
ARCHS='i386'
MATLAB_FFLAGS=''
else
ARCHS='x86_64'
MATLAB_FFLAGS='-m64'
fi
MATLAB_DEFS="$MATLAB_DEFS -DNDEBUG"
MATLAB_CFLAGS="-fno-common -no-cpp-precomp -arch $ARCHS -isysroot $SDKROOT -mmacosx-version-min=$MACOSX_DEPLOYMENT_TARGET -fexceptions -O2"
MATLAB_LDFLAGS="-L$MATLAB/bin/${MATLAB_ARCH} -Wl,-twolevel_namespace -undefined error -arch $ARCHS -Wl,-syslibroot,$SDKROOT -mmacosx-version-min=$MACOSX_DEPLOYMENT_TARGET -bundle -Wl,-exported_symbols_list,\$(top_srcdir)/mexFunction-MacOSX.map"
MATLAB_LIBS="-lmx -lmex -lmat -lstdc++ -lmwlapack"
MATLAB_CXXFLAGS="-fno-common -no-cpp-precomp -fexceptions -arch $ARCHS -isysroot $SDKROOT -mmacosx-version-min=$MACOSX_DEPLOYMENT_TARGET -O2"
MATLAB_FFLAGS="-fexceptions
$MATLAB_FFLAGS -fbackslash
"
MATLAB_FFLAGS="-fexceptions
-fbackslash -arch $ARCHS
"
# Starting from MATLAB 7.5, BLAS and LAPACK are in distinct libraries
AX_COMPARE_VERSION([$MATLAB_VERSION], [ge], [7.5], [MATLAB_LIBS="${MATLAB_LIBS} -lmwblas"])
ax_mexopts_ok="yes"
...
...
matlab/ms-sbvar/clean_files_for_second_type_of_mex.m
View file @
99da257e
function
clean_files_for_second_type_of_mex
(
M_
,
options_
,
type
)
%function clean_files_for_second_type_of_mex()
%
function clean_files_for_second_type_of_mex(
M_, options_, type
)
% clean the files for the appropriate file tag and mex function
%
% INPUTS
...
...
matlab/ms-sbvar/clean_ms_estimation_files.m
View file @
99da257e
function
clean_ms_estimation_files
(
file_tag
)
% function clean_ms_estimation_files()
% function clean_ms_estimation_files(
file_tag
)
% removes MS estimation files
%
% INPUTS
...
...
matlab/ms-sbvar/clean_ms_forecast_files.m
View file @
99da257e
function
clean_ms_forecast_files
(
file_tag
)
% function clean_ms_forecast_files()
% function clean_ms_forecast_files(
file_tag
)
% removes MS forecast files
%
% INPUTS
...
...
matlab/ms-sbvar/clean_ms_init_files.m
View file @
99da257e
function
clean_ms_init_files
(
file_tag
)
% function clean_ms_init_files()
% function clean_ms_init_files(
file_tag
)
% removes MS initialization files
%
% INPUTS
...
...
matlab/ms-sbvar/clean_ms_irf_files.m
View file @
99da257e
function
clean_ms_irf_files
(
file_tag
)
% function clean_ms_irf_files()
% function clean_ms_irf_files(
file_tag
)
% removes MS irf files
%
% INPUTS
...
...
matlab/ms-sbvar/clean_ms_mdd_files.m
View file @
99da257e
function
clean_ms_mdd_files
(
file_tag
,
pt
)
% function clean_ms_mdd_files()
% function clean_ms_mdd_files(
file_tag, pt
)
% removes MS mdd files
%
% INPUTS
...
...
matlab/ms-sbvar/clean_ms_probabilities_files.m
View file @
99da257e
function
clean_ms_probabilities_files
(
file_tag
)
% function clean_ms_probabilities_files()
% function clean_ms_probabilities_files(
file_tag
)
% removes MS probabilities files
%
% INPUTS
...
...
matlab/ms-sbvar/clean_ms_simulation_files.m
View file @
99da257e
function
clean_ms_simulation_files
(
file_tag
)
% function clean_ms_simulation_files()
% function clean_ms_simulation_files(
file_tag
)
% removes MS simulation files
%
% INPUTS
...
...
matlab/ms-sbvar/clean_ms_variance_decomposition_files.m
View file @
99da257e
function
clean_ms_variance_decomposition_files
(
file_tag
)
% function clean_ms_variance_decomposition_files()
% function clean_ms_variance_decomposition_files(
file_tag
)
% removes MS variance decomposition files
%
% INPUTS
...
...
matlab/ms-sbvar/clean_sbvar_files.m
View file @
99da257e
function
clean_sbvar_files
()
%function clean_sbvar_files()
%
function clean_sbvar_files()
% Remove files created by sbvar
%
% INPUTS
...
...
matlab/ms-sbvar/create_dir.m
View file @
99da257e
function
create_dir
(
dirname
)
% function create_dir()
% function create_dir(
dirname
)
% creates directory if it doesn't exist
%
% INPUTS
...
...
matlab/ms-sbvar/delete_dir_if_exists.m
View file @
99da257e
function
delete_dir_if_exists
(
dirname
)
% function delete_dir_if_exists()
% function delete_dir_if_exists(
dirname
)
% removes directory if it exists
%
% INPUTS
...
...
matlab/ms-sbvar/delete_if_exists.m
View file @
99da257e
function
delete_if_exists
(
fname
)
% function delete_if_exists()
% function delete_if_exists(
fname
)
% removes MS intermediary files
%
% INPUTS
...
...
matlab/ms-sbvar/dyn_save_graph.m
View file @
99da257e
function
dyn_save_graph
(
dirname
,
graph_name
,
graph_formats
,
TeX
,
names
,
texnames
,
caption
)
% function dyn_
graph_save(
graph_name,graph_formats,TeX)
% function dyn_
save_graph(dirname,
graph_name,graph_formats,TeX
,names,texnames,caption
)
% saves Dynare graphs
%
% INPUTS
...
...
matlab/ms-sbvar/initialize_ms_sbvar_options.m
View file @
99da257e
function
options_
=
initialize_ms_sbvar_options
(
M_
,
options_
)
%function initialize_ms_sbvar_options()
%
function
options_=
initialize_ms_sbvar_options(
M_, options_
)
% sets ms sbvar options back to their default values
%
% INPUTS
...
...
matlab/ms-sbvar/ms_compute_mdd.m
View file @
99da257e
function
[
options_
,
oo_
]
=
ms_compute_mdd
(
M_
,
options_
,
oo_
)
%function
ms_compute_mdd(
)
% M
S Sbvar
Compute Marginal Data Density
%
function
[options_, oo_]=ms_compute_mdd(M_, options_, oo_
)
% M
arkov-switching SBVAR:
Compute Marginal Data Density
%
% INPUTS
% M_: (struct) model structure
...
...
matlab/ms-sbvar/ms_compute_probabilities.m
View file @
99da257e
function
[
options_
,
oo_
]
=
ms_compute_probabilities
(
M_
,
options_
,
oo_
)
%function
ms_simulation(
)
% M
S Sbvar
Compute Posterior Mode Regime Probabilities
%
function
[options_, oo_]=ms_compute_probabilities(M_, options_, oo_
)
% M
arkov-switching SBVAR:
Compute Posterior Mode Regime Probabilities
%
% INPUTS
% M_: (struct) model structure
...
...
matlab/ms-sbvar/ms_estimation.m
View file @
99da257e
function
[
options_
,
oo_
]
=
ms_estimation
(
M_
,
options_
,
oo_
)
%function
ms_estimation(
)
% M
S Sbvar
Estimation
%
function
[options_, oo_]=ms_estimation(M_, options_, oo_
)
% M
arkov-switching SBVAR:
Estimation
%
% INPUTS
% M_: (struct) model structure
...
...
matlab/ms-sbvar/ms_forecast.m
View file @
99da257e
function
[
options_
,
oo_
]
=
ms_forecast
(
M_
,
options_
,
oo_
)
%function
ms_forecast(
)
% M
S-
SBVAR Forecast
%
function
[options_, oo_]=ms_forecast(M_, options_, oo_
)
% M
arkov-switching
SBVAR
:
Forecast
%
% INPUTS
% M_: (struct) model structure
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment