dynare/matlab/perfect-foresight-models
Sébastien Villemot 7e770f69e7
Remove workaround for errors in MEX files
Because at some point throwing exceptions from MEX files (with mexErrMsgTxt())
was not working under Windows 64-bit, we had designed a workaround to avoid
using exceptions.

Most MEX files were returning an error code as their first (or sometimes last)
argument, and that code would have to be checked from the MATLAB code.

Since this workaround is no longer needed, this commit removes it. As a
consequence, the interface of many MEX files is modified.

For some background, see https://www.dynare.org/pipermail/dev/2010-September/000895.html
2020-01-10 18:33:11 +01:00
..
private Global reindentation of MATLAB code (excluding submodules) 2019-12-20 16:30:27 +01:00
det_cond_forecast.m Remove workaround for errors in MEX files 2020-01-10 18:33:11 +01:00
linear_approximation_accuracy.m Move the location of various generated files on the filesystem 2018-06-27 17:03:39 +02:00
linear_perfect_foresight_problem.m Perfect foresight: remove unused nnzJ argument in several stacked problem functions 2019-05-13 18:33:26 +02:00
make_ex_.m Fixed copyright notices. 2017-05-18 18:36:38 +02:00
make_y_.m small fixes 2019-03-06 14:01:29 +01:00
perfect_foresight_mcp_problem.m Perfect foresight: remove unused nnzJ argument in several stacked problem functions 2019-05-13 18:33:26 +02:00
perfect_foresight_setup.m “datafile” option of “perfect_foresight_setup” (and “simul”) now equivalent to “initval_file” 2019-12-19 14:58:54 +01:00
perfect_foresight_simulation.m Move the location of various generated files on the filesystem 2018-06-27 17:03:39 +02:00
perfect_foresight_solver.m add print and noprint option to perfect_foresight_solver. closes #1647 2019-09-12 14:50:14 +02:00
perfect_foresight_solver_core.m Remove workaround for errors in MEX files 2020-01-10 18:33:11 +01:00
sim1.m sim1.m: provide missing function input to nested function 2020-01-06 09:06:18 +01:00
sim1_lbj.m Move the location of various generated files on the filesystem 2018-06-27 17:03:39 +02:00
sim1_linear.m Ensure that all perfect foresight solvers work with periods=1. 2019-04-26 15:55:48 +02:00
sim1_purely_backward.m fix tolf and tolx options for sim1_purely_backward 2019-11-23 22:44:10 +01:00
sim1_purely_forward.m fix tolf and tolx options for sim1_purely_forward 2019-11-23 22:47:17 +01:00
solve_stacked_linear_problem.m Perfect foresight: remove unused nnzJ argument in several stacked problem functions 2019-05-13 18:33:26 +02:00
solve_stacked_problem.m Simplify the interface to perfect_foresight_problem MEX 2019-07-09 14:33:17 +02:00