Overview
Comment:Plant can now have multiple inputs.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: faa8358236219a281cfb38069a9da8d29acc07e1a9e64c07c163d53563b9971d
User & Date: geraint@users.sourceforge.net on 2002-05-13 22:46:30.000
Other Links: branch diff | manifest | tags
Context
2002-05-14
15:43:41
Complete rewrite check-in: 99eaa00ae6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-13
22:46:30
Plant can now have multiple inputs. check-in: faa8358236 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:11:09
Various changes check-in: 079339165e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
59
60
61
62
63
64
65
66

67
68

69
70
71
72
73
74
75
59
60
61
62
63
64
65

66

67
68
69
70
71
72
73
74
75







-
+
-

+







    if (ssGetNumSFcnParams(S) != ssGetSFcnParamsCount(S)) {
        return;
    }

    ssSetNumContStates(S, MTTNX);
    ssSetNumDiscStates(S, 0);

    if (!ssSetNumInputPorts(S, 1)) return;
    if (!ssSetNumInputPorts(S, MTTNU)) return;
    ssSetInputPortWidth(S, 0, 1);
    for (int i = 0; i < MTTNU; i++) {
      ssSetInputPortWidth(S, i, 1);
      ssSetInputPortDirectFeedThrough(S, i, 1);
    }

    if (!ssSetNumOutputPorts(S, MTTNY)) return;
    for (int i = 0; i < MTTNY; i++) {
      ssSetOutputPortWidth(S, i, 1);
    }

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]