8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "simstruc.h"
#include "sfun_debug.h"
#include "<mtt_model_name>_def.h"
static double *mttu; /* pointer to inputs */
static double *mttpar; /* pointer to parameters */
static double *mttx; /* pointer to states */
static double *mtty; /* pointer to outputs */
static double mttt; /* time */
|
>
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "simstruc.h"
#include "sfun_debug.h"
#include "<mtt_model_name>_def.h"
#include "<mtt_model_name>_sympar.h"
static double *mttu; /* pointer to inputs */
static double *mttpar; /* pointer to parameters */
static double *mttx; /* pointer to states */
static double *mtty; /* pointer to outputs */
static double mttt; /* time */
|
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#include "<mtt_model_name>_input.c"
PRINT_LEAVE;
}
static void
<mtt_model_name>_numpar (void)
{
#include "<mtt_model_name>_sympar.h"
#include "<mtt_model_name>_numpar.c"
PRINT_LEAVE;
}
/* utility procedures */
static double *
|
<
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#include "<mtt_model_name>_input.c"
PRINT_LEAVE;
}
static void
<mtt_model_name>_numpar (void)
{
#include "<mtt_model_name>_numpar.c"
PRINT_LEAVE;
}
/* utility procedures */
static double *
|