Differences From Artifact [dcace679aa]:
- File
mttroot/mtt/lib/rep/sfun_rep/sfun.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: 6683) [annotate] [blame] [check-ins using] [more...]
To Artifact [11a0ec7435]:
- File mttroot/mtt/lib/rep/sfun_rep/sfun.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: 6701) [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.c: * Matlab S-function simulation of <mtt_model_name> */ #define S_FUNCTION_NAME <mtt_model_name>_sfun #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 *mttdx; /* pointer to rates */ |
︙ |