1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* -*-c-*- Put emacs into c-mode
* <mtt_model_name>_sfun_input.c:
* Matlab S-function inputs for <mtt_model_name>
*/
#define S_FUNCTION_NAME <mtt_model_name>_sfun_input
#define S_FUNCTION_LEVEL 2
#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 */
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* -*-c-*- Put emacs into c-mode
* <mtt_model_name>_sfun_input.c:
* Matlab S-function inputs for <mtt_model_name>
*/
#define S_FUNCTION_NAME <mtt_model_name>_sfun_input
#define S_FUNCTION_LEVEL 2
#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 */
|