Guest User

Untitled

a guest
Mar 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. function y = fcn(u)
  2. sys1 = tf(0.5,[1 0 0 4]);
  3. sys2 = tf([3 0.5],[1 0 15]);
  4. sys3 = tf(1,[1 1]);
  5. y = sys1 + sys2 + sys3;
  6.  
  7. function y = myWrapper(u)
  8. sys1 = tf(0.5,[1 0 0 0 4]);
  9. sys2 = tf([3 5],[1 0 15]);
  10. sys3 = tf(1,[1 1]);
  11. y = sys1 + sys2 + sys3;
  12.  
  13. function y = fcn(u)coder.extrinsic('myWrapper')
  14.  
  15. y = myWrapper(u);
  16.  
  17. function y = fcn(u,coder,extrinsic, myWrapper )
  18.  
  19. y = myWrapper(u);
Add Comment
Please, Sign In to add comment