Simulink DataStore Fehler

Jun 06, 2007 0 Replies

Hallo,



In einer Simulink C-S-Function habe ich mit ssSetNumDWork einen Datastore vom type SS_INT16 mit gr=F6=DFe 1 definiert.



in der Funktion mdlInititializeConditions wird diesem der Parameterwert 2 zugewiesen.



Nach 103 Durchl=E4ufen der Funktion mdlOutputs steht dieser Wert aber nicht mehr auf 2 sondern auf 65538.



Habe nur 1 DiscState und 0 ContStates initialisiert.



Was kann das sein?



mfg. Michael M=FCnch



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required