2010-07-06 17:30:55 +02:00
|
|
|
/*
|
2013-06-12 16:42:09 +02:00
|
|
|
* Copyright (C) 2010-2013 Dynare Team
|
2010-07-06 17:30:55 +02:00
|
|
|
*
|
|
|
|
* This file is part of Dynare.
|
|
|
|
*
|
|
|
|
* Dynare is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Dynare is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2010-04-28 09:47:37 +02:00
|
|
|
|
2011-02-18 15:57:19 +01:00
|
|
|
#if defined(MATLAB_MEX_FILE) || defined(OCTAVE_MEX_FILE)
|
2013-04-15 17:18:38 +02:00
|
|
|
|
|
|
|
#include <dynmex.h>
|
|
|
|
|
2010-09-17 19:08:58 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int constant_seed;
|
2010-05-28 13:30:44 +02:00
|
|
|
|
2010-09-17 19:08:58 +02:00
|
|
|
void
|
2011-02-18 12:00:35 +01:00
|
|
|
msExit(int status)
|
2010-09-17 19:08:58 +02:00
|
|
|
{
|
2011-02-18 12:00:35 +01:00
|
|
|
throw "Error in MS-SBVAR MEX file.\n";
|
2010-09-17 19:08:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2010-04-28 09:47:37 +02:00
|
|
|
}
|
2010-09-17 19:08:58 +02:00
|
|
|
#endif
|
2011-02-18 15:57:19 +01:00
|
|
|
#endif
|