Differences From Artifact [4e79896f53]:
- File
mttroot/mtt/lib/rep/sfun_rep/sfun_input.c.tmpl
— part of check-in
[f281078eb6]
at
2002-05-21 11:46:31
on branch origin/master
— MTT input block "sys_sfun_input.mexglx" created to provide inputs from MTT input file to plant model within Simulink.
The command "mtt sys sfun zip" now also creates a simple sys.mdl file which connects the input block to the plant block correctly. (user: geraint@users.sourceforge.net, size: 3518) [annotate] [blame] [check-ins using] [more...]
To Artifact [d7b84bb1c3]:
- File mttroot/mtt/lib/rep/sfun_rep/sfun_input.c.tmpl — part of check-in [cbc3f2e90e] at 2002-05-27 13:19:09 on branch origin/master — Added "#include <math.h>". (user: geraint@users.sourceforge.net, size: 3536) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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 */ |
︙ |