Overview
Comment: | Plant can now have multiple inputs. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2d5df8ac8396cc0aaa771d2b99259ead |
User & Date: | geraint@users.sourceforge.net on 2002-05-13 22:46:30 |
Other Links: | branch diff | manifest | tags |
Context
2002-05-14
| ||
15:43:41 | Complete rewrite check-in: 63d93d8226 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2002-05-13
| ||
22:46:30 | Plant can now have multiple inputs. check-in: 2d5df8ac83 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
16:11:09 | Various changes check-in: 12e17795c6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/rep/sfun_rep/sfun.cc.tmpl from [f8062baaba] to [0ed4c539b6].
︙ | ︙ | |||
59 60 61 62 63 64 65 | if (ssGetNumSFcnParams(S) != ssGetSFcnParamsCount(S)) { return; } ssSetNumContStates(S, MTTNX); ssSetNumDiscStates(S, 0); | | < > | 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, MTTNU)) return; 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); } |
︙ | ︙ |