Guest User

Untitled

a guest
Jan 16th, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. //
  2. static double a=0;
  3. //
  4.  
  5. static void mdlOutputs(SimStruct *S, int_T tid)
  6. {
  7. const real_T *u = ssGetInputPortRealSignal(S,0);
  8. a=*u; //this line creates the problem
  9.  
  10. }
  11. //
Add Comment
Please, Sign In to add comment